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

@hi-ui/type-assertion

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/type-assertion - npm Package Compare versions

Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.11

9

lib/cjs/index.js

@@ -18,5 +18,13 @@ /** @LICENSE

/**
* Assert is undefined
*/
var isUndefined = function isUndefined(arg) {
return arg === undefined;
};
/**
* Assert is Nullish
*/
var isNullish = function isNullish(arg) {

@@ -106,2 +114,3 @@ return arg === null || arg === undefined;

exports.isString = isString;
exports.isUndefined = isUndefined;
//# sourceMappingURL=index.js.map

10

lib/esm/index.js

@@ -14,4 +14,12 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

/**
* Assert is undefined
*/
var isUndefined = function isUndefined(arg) {
return arg === undefined;
};
/**
* Assert is Nullish
*/
var isNullish = function isNullish(arg) {

@@ -92,3 +100,3 @@ return arg === null || arg === undefined;

export { isArray, isArrayNonEmpty, isElement, isFunction, isNullish, isNumeric, isObject, isPromise, isString };
export { isArray, isArrayNonEmpty, isElement, isFunction, isNullish, isNumeric, isObject, isPromise, isString, isUndefined };
//# sourceMappingURL=index.js.map
export declare type Dict<T = any> = Record<string, T>;
export declare type Nullish = null | undefined | void;
export declare type Undefined = undefined | void;
export declare type Nullish = null | Undefined;
/**
* Assert is undefined
*/
export declare const isUndefined: (arg: unknown) => arg is Undefined;
/**
* Assert is Nullish

@@ -5,0 +10,0 @@ */

4

package.json
{
"name": "@hi-ui/type-assertion",
"version": "4.0.0-alpha.9",
"version": "4.0.0-alpha.11",
"description": "A sub-package for @hi-ui/utils.",

@@ -48,3 +48,3 @@ "keywords": [],

},
"gitHead": "689ef7c6b19089bf0aa818978c70da1e27714e6b"
"gitHead": "734a594a67ed76aa6e36772532e67b53048f2dae"
}

Sorry, the diff of this file is not supported yet

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