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 3.3.1 to 3.4.0

4

cjs/types.d.ts

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

export declare type Predicate<A> = Arity1<A, boolean>;
export declare type Is<A> = (value: any) => value is A;
export declare type Is<A> = (value: unknown) => value is A;
export declare type IsNot<A> = <B extends unknown>(value: A | B) => value is B;
export declare type Refinement<A, B extends A> = (a: A) => a is B;
export declare type Predicate2<A, B> = Arity2<A, B, boolean>;

@@ -12,0 +14,0 @@ export declare type ComparisonNumbers = -1 | 0 | 1;

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

export declare type Predicate<A> = Arity1<A, boolean>;
export declare type Is<A> = (value: any) => value is A;
export declare type Is<A> = (value: unknown) => value is A;
export declare type IsNot<A> = <B extends unknown>(value: A | B) => value is B;
export declare type Refinement<A, B extends A> = (a: A) => a is B;
export declare type Predicate2<A, B> = Arity2<A, B, boolean>;

@@ -12,0 +14,0 @@ export declare type ComparisonNumbers = -1 | 0 | 1;

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

@@ -29,3 +29,3 @@ "main": "./cjs/index.js",

"dependencies": {
"@typed/common": "^3.4.1"
"@typed/common": "^3.5.0"
},

@@ -39,4 +39,4 @@ "publishConfig": {

"sideEffects": false,
"gitHead": "663d642bd1facd22b30294bb3cc679dd3b2f7ad0",
"gitHead": "68900a6301af037d953f3111a3c87c1141d44738",
"unpkg": "./umd/index.js"
}

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

export type Predicate<A> = Arity1<A, boolean>
export type Is<A> = (value: any) => value is A
export type Is<A> = (value: unknown) => value is A
export type IsNot<A> = <B extends unknown>(value: A | B) => value is B
export type Refinement<A, B extends A> = (a: A) => a is B
export type Predicate2<A, B> = Arity2<A, B, boolean>

@@ -20,0 +22,0 @@ export type ComparisonNumbers = -1 | 0 | 1

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