Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-get-type

Package Overview
Dependencies
Maintainers
6
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 27.0.0-next.0 to 27.0.0-next.9

8

build/index.d.ts

@@ -8,6 +8,4 @@ /**

declare type ValueType = 'array' | 'bigint' | 'boolean' | 'function' | 'null' | 'number' | 'object' | 'regexp' | 'map' | 'set' | 'date' | 'string' | 'symbol' | 'undefined';
declare function getType(value: unknown): ValueType;
declare namespace getType {
var isPrimitive: (value: unknown) => boolean;
}
export = getType;
export declare function getType(value: unknown): ValueType;
export declare const isPrimitive: (value: unknown) => boolean;
export {};
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.getType = getType;
exports.isPrimitive = void 0;
/**

@@ -49,4 +55,4 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

getType.isPrimitive = value => Object(value) !== value;
const isPrimitive = value => Object(value) !== value;
module.exports = getType;
exports.isPrimitive = isPrimitive;
{
"name": "jest-get-type",
"description": "A utility function to get the type of a value",
"version": "27.0.0-next.0",
"version": "27.0.0-next.9",
"repository": {

@@ -23,3 +23,3 @@ "type": "git",

},
"gitHead": "4f77c70602cab8419794f10fa39510f13baafef8"
"gitHead": "d836f33f98845794b4eae8149548a81ddcfc6521"
}
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