Comparing version
const {toString} = Object.prototype; | ||
const vowels = /^[aeiou]/i; | ||
const builtin = [Array, Boolean, Date, Error, Function, Number, Object, RegExp, String, Symbol]; | ||
const builtin = [Array, Boolean, Date, Error, Function, Number, Object, Promise, RegExp, String, Symbol]; | ||
if (typeof Buffer == 'function') builtin.push(Buffer); | ||
@@ -6,0 +6,0 @@ |
{ | ||
"name": "type-error", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "aleclarson/type-error", |
@@ -1,2 +0,2 @@ | ||
# type-error v1.0.2 | ||
# type-error v1.0.3 | ||
@@ -3,0 +3,0 @@ Create a native `TypeError` object by passing the expected type and the actual value. |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
3152
0.29%1
Infinity%