🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@cycle/run

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cycle/run - npm Package Compare versions

Comparing version

to
5.1.0-rc.0

lib/cjs/microtask.d.ts

2

lib/cjs/index.d.ts
import { CycleProgram, DisposeFunction, Drivers, MatchingDrivers, MatchingMain, Engine } from './types';
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, } from './types';
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine } from './types';
/**

@@ -4,0 +4,0 @@ * A function that prepares the Cycle application to be executed. Takes a `main`

@@ -24,3 +24,3 @@ import { Stream } from 'xstream';

export declare type Drivers = {
[name: string]: Driver<FantasyObservable | undefined | void | null, any>;
[name: string]: Driver<Stream<any> | void, any | void>;
};

@@ -31,5 +31,3 @@ export declare type Main = (...args: Array<any>) => any;

};
export declare type Sinks<M extends Main> = {
[k in (string & keyof ReturnType<M>)]: ReturnType<M>[k] & FantasyObservable;
};
export declare type Sinks<M extends Main> = ReturnType<M>;
export declare type MatchingMain<D extends Drivers, M extends Main> = Main & {

@@ -39,3 +37,3 @@ (so?: Partial<Sources<D>>): Sinks<M>;

export declare type MatchingDrivers<D extends Drivers, M extends Main> = Drivers & {
[k in (string & keyof Sinks<M>)]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);
[k in string & keyof Sinks<M>]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);
};

@@ -42,0 +40,0 @@ export interface CycleProgram<D extends MatchingDrivers<D, M>, M extends MatchingMain<D, M>> {

import { CycleProgram, DisposeFunction, Drivers, MatchingDrivers, MatchingMain, Engine } from './types';
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, } from './types';
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine } from './types';
/**

@@ -4,0 +4,0 @@ * A function that prepares the Cycle application to be executed. Takes a `main`

@@ -24,3 +24,3 @@ import { Stream } from 'xstream';

export declare type Drivers = {
[name: string]: Driver<FantasyObservable | undefined | void | null, any>;
[name: string]: Driver<Stream<any> | void, any | void>;
};

@@ -31,5 +31,3 @@ export declare type Main = (...args: Array<any>) => any;

};
export declare type Sinks<M extends Main> = {
[k in (string & keyof ReturnType<M>)]: ReturnType<M>[k] & FantasyObservable;
};
export declare type Sinks<M extends Main> = ReturnType<M>;
export declare type MatchingMain<D extends Drivers, M extends Main> = Main & {

@@ -39,3 +37,3 @@ (so?: Partial<Sources<D>>): Sinks<M>;

export declare type MatchingDrivers<D extends Drivers, M extends Main> = Drivers & {
[k in (string & keyof Sinks<M>)]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);
[k in string & keyof Sinks<M>]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);
};

@@ -42,0 +40,0 @@ export interface CycleProgram<D extends MatchingDrivers<D, M>, M extends MatchingMain<D, M>> {

{
"name": "@cycle/run",
"version": "5.0.0",
"version": "5.1.0-rc.0",
"description": "The Cycle.js run() function to use with xstream",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -30,3 +30,3 @@ import {Stream} from 'xstream';

export type Drivers = {
[name: string]: Driver<FantasyObservable | undefined | void | null, any>;
[name: string]: Driver<Stream<any> | void, any | void>;
};

@@ -38,5 +38,3 @@

export type Sinks<M extends Main> = {
[k in (string & keyof ReturnType<M>)]: ReturnType<M>[k] & FantasyObservable
};
export type Sinks<M extends Main> = ReturnType<M>;

@@ -49,3 +47,3 @@ export type MatchingMain<D extends Drivers, M extends Main> = Main & {

{
[k in (string & keyof Sinks<M>)]:
[k in string & keyof Sinks<M>]:
| ((si?: Sinks<M>[k]) => Sources<D>[k])

@@ -52,0 +50,0 @@ | ((si: Sinks<M>[k]) => Sources<D>[k])

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet