Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 5.1.0-rc.1 to 5.1.0

13

CHANGELOG.md

@@ -0,1 +1,14 @@

## 5.1.0 (2018-10-17)
* fix(run): support TypeScript 3.1 ([a90cd63](https://github.com/cyclejs/cyclejs/commit/a90cd63)), closes [#815](https://github.com/cyclejs/cyclejs/issues/815)
* refactor(run): move run tooling to pnpm ([0b2eebd](https://github.com/cyclejs/cyclejs/commit/0b2eebd))
### BREAKING CHANGE
* If you use JavaScript, there are no breaking changes. If you use
TypeScript, this package may not work anymore with versions of TS below
3.1.
## 5.0.0 (2018-09-26)

@@ -2,0 +15,0 @@

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`

@@ -31,7 +31,7 @@ import { Stream } from 'xstream';

export declare type Sinks<M extends Main> = ReturnType<M>;
export declare type MatchingMain<D extends Drivers, M extends Main> = Main & {
export declare type MatchingMain<D extends Drivers, M extends Main> = (Main & {
(so: Sources<D>): Sinks<M>;
} | Main & {
}) | (Main & {
(): Sinks<M>;
};
});
export declare type MatchingDrivers<D extends Drivers, M extends Main> = Drivers & {

@@ -38,0 +38,0 @@ [k in string & keyof Sinks<M>]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);

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`

@@ -31,7 +31,7 @@ import { Stream } from 'xstream';

export declare type Sinks<M extends Main> = ReturnType<M>;
export declare type MatchingMain<D extends Drivers, M extends Main> = Main & {
export declare type MatchingMain<D extends Drivers, M extends Main> = (Main & {
(so: Sources<D>): Sinks<M>;
} | Main & {
}) | (Main & {
(): Sinks<M>;
};
});
export declare type MatchingDrivers<D extends Drivers, M extends Main> = Drivers & {

@@ -38,0 +38,0 @@ [k in string & keyof Sinks<M>]: ((si?: Sinks<M>[k]) => Sources<D>[k]) | ((si: Sinks<M>[k]) => Sources<D>[k]);

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

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

@@ -39,7 +39,9 @@ import {Stream} from 'xstream';

export type MatchingMain<D extends Drivers, M extends Main> = Main & {
(so: Sources<D>): Sinks<M>;
} | Main & {
(): Sinks<M>;
};
export type MatchingMain<D extends Drivers, M extends Main> =
| Main & {
(so: Sources<D>): Sinks<M>;
}
| Main & {
(): Sinks<M>;
};

@@ -46,0 +48,0 @@ export type MatchingDrivers<D extends Drivers, M extends Main> = Drivers &

@@ -36,7 +36,7 @@ // tslint:disable-next-line

first: xs.of('test'),
second: xs.of('string')
second: xs.of('string'),
};
}
function app2() {
return { second: xs.of('test') };
return {second: xs.of('test')};
}

@@ -47,3 +47,6 @@ function driver(sink: Stream<string>) {

const {sinks, sources} = setup(app, {first: driver, second: driver});
const {sinks: sinks2, sources: sources2} = setup(app2, {first: driver, second: driver});
const {sinks: sinks2, sources: sources2} = setup(app2, {
first: driver,
second: driver,
});

@@ -50,0 +53,0 @@ assert.strictEqual(typeof sinks, 'object');

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

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