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

@typed/lambda

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typed/lambda - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

cjs/types.d.ts

@@ -21,3 +21,3 @@ export declare type Primitive = undefined | null | boolean | string | number | Function;

}
export declare type Fn<Args extends any[] = any[], R = any> = (...args: Args) => R;
export declare type Fn<Args extends readonly any[] = any[], R = any> = (...args: Args) => R;
export declare type Curry<T extends Fn> = ArgsOf<T> extends [infer A] ? Arity1<A, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B] ? Curry2<A, B, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C] ? Curry3<A, B, C, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D] ? Curry4<A, B, C, D, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D, infer E] ? Curry5<A, B, C, D, E, ReturnType<T>> : ArgsOf<T> extends never[] ? IO<ReturnType<T>> : never;

@@ -24,0 +24,0 @@ export declare type ArgsOf<T extends Fn> = T extends Fn<infer Args, any> ? Args : [];

@@ -21,3 +21,3 @@ export declare type Primitive = undefined | null | boolean | string | number | Function;

}
export declare type Fn<Args extends any[] = any[], R = any> = (...args: Args) => R;
export declare type Fn<Args extends readonly any[] = any[], R = any> = (...args: Args) => R;
export declare type Curry<T extends Fn> = ArgsOf<T> extends [infer A] ? Arity1<A, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B] ? Curry2<A, B, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C] ? Curry3<A, B, C, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D] ? Curry4<A, B, C, D, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D, infer E] ? Curry5<A, B, C, D, E, ReturnType<T>> : ArgsOf<T> extends never[] ? IO<ReturnType<T>> : never;

@@ -24,0 +24,0 @@ export declare type ArgsOf<T extends Fn> = T extends Fn<infer Args, any> ? Args : [];

{
"name": "@typed/lambda",
"version": "1.0.1",
"version": "1.0.2",
"description": "Helpful functions for working in a functional style",

@@ -38,4 +38,4 @@ "main": "./cjs/index.js",

"sideEffects": false,
"gitHead": "8b2b4a461b095009848d027948f97eae513593a4",
"gitHead": "234e175da43230384b18c53bddce77316bd90100",
"unpkg": "./umd/index.js"
}

@@ -39,3 +39,3 @@ export type Primitive = undefined | null | boolean | string | number | Function

export type Fn<Args extends any[] = any[], R = any> = (...args: Args) => R
export type Fn<Args extends readonly any[] = any[], R = any> = (...args: Args) => R

@@ -42,0 +42,0 @@ // tslint:disable:no-shadowed-variable

@@ -21,3 +21,3 @@ export declare type Primitive = undefined | null | boolean | string | number | Function;

}
export declare type Fn<Args extends any[] = any[], R = any> = (...args: Args) => R;
export declare type Fn<Args extends readonly any[] = any[], R = any> = (...args: Args) => R;
export declare type Curry<T extends Fn> = ArgsOf<T> extends [infer A] ? Arity1<A, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B] ? Curry2<A, B, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C] ? Curry3<A, B, C, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D] ? Curry4<A, B, C, D, ReturnType<T>> : ArgsOf<T> extends [infer A, infer B, infer C, infer D, infer E] ? Curry5<A, B, C, D, E, ReturnType<T>> : ArgsOf<T> extends never[] ? IO<ReturnType<T>> : never;

@@ -24,0 +24,0 @@ export declare type ArgsOf<T extends Fn> = T extends Fn<infer Args, any> ? Args : [];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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