@garfish/utils
Advanced tools
Comparing version 1.14.2 to 1.14.3-beta-20230314031220.0
@@ -184,3 +184,3 @@ // src/utils.ts | ||
function isPrimitive(val) { | ||
return val === null || typeof val === "string" || typeof val === "number" || typeof val === "bigint" || typeof val === "symbol" || typeof val === "boolean" || typeof val === "undefined"; | ||
return val === null || typeof val === "string" || typeof val === "number" || typeof val === "bigint" || typeof val === "symbol" || typeof val === "boolean" || typeof val === "undefined" || objectToString.call(val) === "[object RegExp]"; | ||
} | ||
@@ -187,0 +187,0 @@ function filterUndefinedVal(ob) { |
@@ -292,3 +292,3 @@ var __create = Object.create; | ||
function isPrimitive(val) { | ||
return val === null || typeof val === "string" || typeof val === "number" || typeof val === "bigint" || typeof val === "symbol" || typeof val === "boolean" || typeof val === "undefined"; | ||
return val === null || typeof val === "string" || typeof val === "number" || typeof val === "bigint" || typeof val === "symbol" || typeof val === "boolean" || typeof val === "undefined" || objectToString.call(val) === "[object RegExp]"; | ||
} | ||
@@ -295,0 +295,0 @@ function filterUndefinedVal(ob) { |
{ | ||
"name": "@garfish/utils", | ||
"version": "1.14.2", | ||
"version": "1.14.3-beta-20230314031220.0", | ||
"description": "utils module.", | ||
@@ -30,3 +30,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@garfish/core": "1.14.2" | ||
"@garfish/core": "1.14.3-beta-20230314031220.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "publishConfig": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
88541
1