composable-functions
Advanced tools
Comparing version 1.0.0-beta-20240522-2 to 1.0.0-beta-20240523-1
{ | ||
"name": "composable-functions", | ||
"version": "1.0.0-beta-20240522-2", | ||
"version": "1.0.0-beta-20240523-1", | ||
"description": "Types and functions to make composition easy and safe", | ||
@@ -5,0 +5,0 @@ "author": "Seasoned", |
@@ -199,3 +199,3 @@ import type { BranchReturn, CanComposeInParallel, CanComposeInSequence, Composable, MergeObjects, PipeReturn, RecordToTuple, Result, SequenceReturn, UnpackData } from './types.js'; | ||
*/ | ||
declare function branch<SourceComposable extends Composable, Resolver extends (...args: any[]) => Composable | null | Promise<Composable | null>>(cf: SourceComposable, resolver: Resolver): BranchReturn<SourceComposable, Resolver>; | ||
declare function branch<SourceComposable extends Composable, Resolver extends (o: UnpackData<SourceComposable>) => Composable | null | Promise<Composable | null>>(cf: SourceComposable, resolver: Resolver): BranchReturn<SourceComposable, Resolver>; | ||
export { all, branch, catchFailure, collect, map, mapErrors, mapParameters, mergeObjects, pipe, sequence, trace, }; |
@@ -1,2 +0,2 @@ | ||
import type { Composable } from '../types.js'; | ||
import type { Composable, UnpackData } from '../types.js'; | ||
import { BranchReturn, PipeReturn, SequenceReturn } from './types.js'; | ||
@@ -40,3 +40,3 @@ /** | ||
*/ | ||
declare function branch<SourceComposable extends Composable, Resolver extends (...args: any[]) => Composable | null | Promise<Composable | null>>(cf: SourceComposable, resolver: Resolver): BranchReturn<SourceComposable, Resolver>; | ||
declare function branch<SourceComposable extends Composable, Resolver extends (o: UnpackData<SourceComposable>) => Composable | null | Promise<Composable | null>>(cf: SourceComposable, resolver: Resolver): BranchReturn<SourceComposable, Resolver>; | ||
export { branch, pipe, sequence }; |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
0
104871
38