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

@antfu/utils

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/utils - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

dist/index.d.ts
/**
* Promise, or maybe not
*/
declare type Thenable<T> = T | Promise<T>;
declare type Awaitable<T> = T | PromiseLike<T>;
/**
* Null or underfind whatever
*/
declare type Nullable<T> = T | null | undefined | void;
declare type Nullable<T> = T | null | undefined;
/**

@@ -112,2 +112,2 @@ * Array, or not yet

export { Arrayable, ElementOf, Fn, Nullable, Thenable, assert, batchInvoke, clamp, flattenArrayable, invoke, isBoolean, isBrowser, isDef, isFunction, isNotNull, isNumber, isObject, isString, isTruthy, isWindow, mergeArrayable, noop, objectMap, partition, slash, sum, timestamp, toArray, toString };
export { Arrayable, Awaitable, ElementOf, Fn, Nullable, assert, batchInvoke, clamp, flattenArrayable, invoke, isBoolean, isBrowser, isDef, isFunction, isNotNull, isNumber, isObject, isString, isTruthy, isWindow, mergeArrayable, noop, objectMap, partition, slash, sum, timestamp, toArray, toString };
{
"name": "@antfu/utils",
"version": "0.0.3",
"version": "0.0.4",
"description": "Opinionated collection of common JavaScript / TypeScript utils by @antfu",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -9,3 +9,3 @@ # @antfu/utils

- Fully typed - with TSDocs
- Type utilities - `Thenable<T>` `Arrayable<T>` etc
- Type utilities - `Arrayable<T>`, `ElementOf<T>`, etc.

@@ -12,0 +12,0 @@ > This package is designed to be used as `devDependencies` and bundled into your dist.

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