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

callbag

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

callbag - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

1

CopyrightWaivers.txt

@@ -29,2 +29,3 @@ Copyright Statement for Contributions to the Callbag Standard

loreanvictor | Eugene Ghanizadeh Khoub, ghanizadeh.eugene@gmail.com
devanshj | Devansh Jethmalani, jethmalani.devansh@gmail.com

2

package.json
{
"name": "callbag",
"version": "1.3.0",
"version": "1.4.0",
"description": "A standard for JS callbacks",

@@ -5,0 +5,0 @@ "repository": {

@@ -16,7 +16,7 @@ export type START = 0;

*/
export type Callbag<I, O> = {
export interface Callbag<I, O> {
(t: START, d: Callbag<O, I>): void;
(t: DATA, d: I): void;
(t: END, d?: any): void;
};
}

@@ -26,3 +26,3 @@ /**

*/
export type Source<T> = Callbag<never, T>;
export interface Source<T> extends Callbag<never, T> {}

@@ -32,3 +32,3 @@ /**

*/
export type Sink<T> = Callbag<T, never>;
export interface Sink<T> extends Callbag<T, never> {}

@@ -35,0 +35,0 @@ export type SourceFactory<T> = (...args: Array<any>) => Source<T>;

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