Socket
Socket
Sign inDemoInstall

jest-get-type

Package Overview
Dependencies
Maintainers
7
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-get-type - npm Package Compare versions

Comparing version 25.0.0 to 25.1.0

2

build/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc