jest-get-type
Advanced tools
Comparing version 25.0.0 to 25.1.0
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
declare type ValueType = 'array' | 'boolean' | 'function' | 'null' | 'number' | 'object' | 'regexp' | 'map' | 'set' | 'date' | 'string' | 'symbol' | 'undefined'; | ||
declare type ValueType = 'array' | 'bigint' | 'boolean' | 'function' | 'null' | 'number' | 'object' | 'regexp' | 'map' | 'set' | 'date' | 'string' | 'symbol' | 'undefined'; | ||
declare function getType(value: unknown): ValueType; | ||
@@ -10,0 +10,0 @@ declare namespace getType { |
@@ -26,2 +26,4 @@ 'use strict'; | ||
return 'string'; | ||
} else if (typeof value === 'bigint') { | ||
return 'bigint'; | ||
} else if (typeof value === 'object') { | ||
@@ -28,0 +30,0 @@ if (value != null) { |
{ | ||
"name": "jest-get-type", | ||
"description": "A utility function to get the type of a value", | ||
"version": "25.0.0", | ||
"version": "25.1.0", | ||
"repository": { | ||
@@ -11,3 +11,3 @@ "type": "git", | ||
"engines": { | ||
"node": ">= 8" | ||
"node": ">= 8.3" | ||
}, | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "ff9269be05fd8316e95232198fce3463bf2f270e" | ||
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3912
58
1