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

@fabiospampinato/is

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fabiospampinato/is - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

dist/is_number_like.d.ts

3

dist/index.d.ts

@@ -56,2 +56,3 @@ import isArguments from './is_arguments';

import isNumber from './is_number';
import isNumberLike from './is_number_like';
import isObject from './is_object';

@@ -83,2 +84,2 @@ import isObjectLike from './is_object_like';

import isWindow from './is_window';
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow };
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isNumberLike, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow };

@@ -57,2 +57,3 @@ /* MAIN */

import isNumber from './is_number.js';
import isNumberLike from './is_number_like.js';
import isObject from './is_object.js';

@@ -85,2 +86,2 @@ import isObjectLike from './is_object_like.js';

/* EXPORT */
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow };
export { isArguments, isArray, isArrayBuffer, isArrayLike, isArrayLikeObject, isArrowFunction, isAsyncFunction, isAsyncGeneratorFunction, isAsyncIterable, isAttribute, isBigInt, isBigInt64Array, isBigUint64Array, isBlob, isBoolean, isBoundFunction, isBoxedBigInt, isBoxedBoolean, isBoxedNumber, isBoxedPrimitive, isBoxedString, isBoxedSymbol, isBuffer, isClass, isComment, isDataView, isDate, isDocument, isDocumentFragment, isDocumentType, isElement, isEmpty, isError, isEven, isFalsy, isFinite, isFloat, isFloat32Array, isFloat64Array, isFunction, isGeneratorFunction, isInt16Array, isInt32Array, isInt8Array, isInteger, isIterable, isLength, isMap, isNaN, isNative, isNegativeZero, isNil, isNode, isNull, isNumber, isNumberLike, isObject, isObjectLike, isOdd, isPlainObject, isPrimitive, isPromise, isPrototype, isRegExp, isSafeInteger, isSet, isSharedArrayBuffer, isString, isSymbol, isText, isTruthy, isTypedArray, isUint16Array, isUint32Array, isUint8Array, isUint8ClampedArray, isUndefined, isWeakMap, isWeakRef, isWeakReferable, isWeakSet, isWindow };

@@ -5,3 +5,3 @@ {

"description": "The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.",
"version": "2.4.0",
"version": "2.5.0",
"type": "module",

@@ -8,0 +8,0 @@ "sideEffects": false,

@@ -653,2 +653,16 @@ # Is

#### `isNumberLike` 🆕
Checks if a string can be safely converted to a number.
```ts
import {isNumberLike} from 'is';
isNumberLike ( '3' ); // => true
isNumberLike ( '12.3' ); // => true
isNumberLike ( '1e100' ); // => true
isNumberLike ( '0xff' ); // => true
isNumberLike ( 'foo' ); // => false
```
#### `isObjectLike`

@@ -655,0 +669,0 @@

@@ -59,2 +59,3 @@

import isNumber from './is_number';
import isNumberLike from './is_number_like';
import isObject from './is_object';

@@ -145,2 +146,3 @@ import isObjectLike from './is_object_like';

isNumber,
isNumberLike,
isObject,

@@ -147,0 +149,0 @@ isObjectLike,

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