Socket
Socket
Sign inDemoInstall

fp-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-toolkit - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

4

dist/types/Async/Async.d.ts

@@ -39,3 +39,5 @@ /**

/** Represents a "lazy" or "cold" `Promise`. (See module-level documentation for more.) */
export type Async<A> = () => Promise<A>;
export interface Async<A> {
(): Promise<A>;
}
/**

@@ -42,0 +44,0 @@ * Constructs an Async from a raw value. Primarily useful for

@@ -21,3 +21,5 @@ /**

*/
export type AsyncResult<A, E> = () => Promise<Result<A, E>>;
export interface AsyncResult<A, E> {
(): Promise<Result<A, E>>;
}
/**

@@ -24,0 +26,0 @@ * Construct a new `Ok` instance.

@@ -22,3 +22,3 @@ {

],
"version": "1.4.1",
"version": "1.4.2",
"type": "module",

@@ -25,0 +25,0 @@ "main": "./dist/fp-toolkit.cjs",

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