Socket
Socket
Sign inDemoInstall

@sindresorhus/is

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sindresorhus/is - npm Package Compare versions

Comparing version 6.3.0 to 6.3.1

2

dist/index.d.ts

@@ -139,3 +139,3 @@ /// <reference types="node" resolution-mode="require"/>

export declare function isEmptyStringOrWhitespace(value: unknown): value is string;
export declare function isEnumCase<T = unknown>(value: unknown, targetEnum: T): boolean;
export declare function isEnumCase<T = unknown>(value: unknown, targetEnum: T): value is T[keyof T];
export declare function isError(value: unknown): value is Error;

@@ -142,0 +142,0 @@ export declare function isEvenInteger(value: unknown): value is number;

{
"name": "@sindresorhus/is",
"version": "6.3.0",
"version": "6.3.1",
"description": "Type check values",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -746,3 +746,3 @@ # is

- [ow](https://github.com/sindresorhus/ow) - Function argument validation for humans
- [environment](https://github.com/sindresorhus/environment) - Check which JavaScript environment your code is running in at runtime
- [is-stream](https://github.com/sindresorhus/is-stream) - Check if something is a Node.js stream

@@ -749,0 +749,0 @@ - [is-observable](https://github.com/sindresorhus/is-observable) - Check if a value is an Observable

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