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

extra-utils

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-utils - npm Package Compare versions

Comparing version 5.0.1 to 5.1.0

lib/pipe-async.d.ts

1

lib/index.d.ts

@@ -14,1 +14,2 @@ export * from './array/index.js';

export * from './pipe.js';
export * from './pipe-async.js';

@@ -14,2 +14,3 @@ export * from './array/index.js';

export * from './pipe.js';
export * from './pipe-async.js';
//# sourceMappingURL=index.js.map

22

package.json
{
"name": "extra-utils",
"version": "5.0.1",
"version": "5.1.0",
"description": "Utilities for JavaScript and Typescript",

@@ -38,14 +38,14 @@ "files": [

"@blackglory/pass": "^1.1.0",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.2.6",
"@types/jsdom": "^20.0.1",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/jest": "^29.4.0",
"@types/jsdom": "^21.1.0",
"@types/lodash-es": "^4.17.6",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"cross-env": "^7.0.3",
"eslint": "^8.32.0",
"eslint": "^8.34.0",
"husky": "^4.3.8",
"jest": "^29.3.1",
"jest-resolve": "^29.3.1",
"jest": "^29.4.3",
"jest-resolve": "^29.4.3",
"npm-run-all": "^4.1.5",

@@ -57,3 +57,3 @@ "rimraf": "^3.0.2",

"tsd": "^0.25.0",
"tslib": "^2.4.1",
"tslib": "^2.5.0",
"typescript": "4.8",

@@ -60,0 +60,0 @@ "typescript-transform-paths": "^3.4.6"

@@ -282,1 +282,72 @@ # extra-utils

```
### pipeAsync
```ts
function pipeAsync<A, B, C, D, E, F, G, H>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
, (value: C) => Awaitable<D>
, (value: D) => Awaitable<E>
, (value: E) => Awaitable<F>
, (value: F) => Awaitable<G>
, (value: G) => Awaitable<H>
]
): Promise<H>
function pipeAsync<A, B, C, D, E, F, G>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
, (value: C) => Awaitable<D>
, (value: D) => Awaitable<E>
, (value: E) => Awaitable<F>
, (value: F) => Awaitable<G>
]
): Promise<G>
function pipeAsync<A, B, C, D, E, F>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
, (value: C) => Awaitable<D>
, (value: D) => Awaitable<E>
, (value: E) => Awaitable<F>
]
): Promise<F>
function pipeAsync<A, B, C, D, E>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
, (value: C) => Awaitable<D>
, (value: D) => Awaitable<E>
]
): Promise<E>
function pipeAsync<A, B, C, D>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
, (value: C) => Awaitable<D>
]
): Promise<D>
function pipeAsync<A, B, C>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
, (value: B) => Awaitable<C>
]
): Promise<C>
function pipeAsync<A, B>(
value: Awaitable<A>
, ...operators: [
(value: A) => Awaitable<B>
]
): Promise<B>
function pipeAsync<T, U>(
value: Awaitable<T>
, ...operators: Array<(value: any) => Awaitable<unknown>>
): Promise<U>
```

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