@most/core
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@most/core", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Reactive programming with lean, functions-only, curried, tree-shakeable API", | ||
@@ -14,13 +14,11 @@ "typings": "type-definitions/most.d.ts", | ||
"scripts": { | ||
"commit": "northbrook commit", | ||
"test": "npm run test:lint && npm run test:unit && npm run test:flow", | ||
"test:unit": "buster-test -c test-buster-old/buster.js && northbrook mocha", | ||
"test:lint": "northbrook eslint", | ||
"test:unit": "mocha -r buba/register --reporter dot --recursive 'test/**/*-test.js'", | ||
"test:lint": "eslint src test", | ||
"test:flow": "flow check", | ||
"build": "npm run build:dist && npm run build:min && npm run build:flow", | ||
"build:dist": "northbrook rollup", | ||
"build:dist": "rollup -c", | ||
"build:min": "uglifyjs dist/mostCore.js -m -o dist/mostCore.min.js", | ||
"build:flow": "cpy src/index.js.flow dist --rename=mostCore.js.flow && cpy src/index.js.flow dist --rename=mostCore.es.js.flow", | ||
"prepublish": "npm run build", | ||
"release": "northbrook release" | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -46,12 +44,12 @@ "repository": { | ||
"devDependencies": { | ||
"@briancavalier/assert": "^3.2.0", | ||
"@most/eslint-config-most": "^1.0.3", | ||
"@northbrook/eslint": "^2.0.1", | ||
"@northbrook/mocha": "^3.1.0", | ||
"@northbrook/rollup": "^1.0.1", | ||
"babel-eslint": "^7.1.1", | ||
"buba": "^4.0.2", | ||
"buster": "^0.7.18", | ||
"buster": "^0.8.0", | ||
"cpy-cli": "^1.0.1", | ||
"eslint": "^3.15.0", | ||
"flow-bin": "^0.37.4", | ||
"northbrook": "^4.5.1", | ||
"mocha": "^3.2.0", | ||
"rollup": "^0.41.4", | ||
"rollup-plugin-buble": "^0.15.0", | ||
@@ -58,0 +56,0 @@ "rollup-plugin-node-resolve": "^2.0.0", |
@@ -7,3 +7,3 @@ import { Stream } from '../types'; | ||
export function zip<A, B, C, D, E, R>(fn: (a: A, b: B, c: C, d: D, e: E) => R, a: Stream<A>, b: Stream<B>, c: Stream<C>, d: Stream<D>, e: Stream<E>): Stream<R>; | ||
export function zip<R>(f: (...args: any[]) => R, ...streams: Stream<any>[]); | ||
export function zip<R>(f: (...args: any[]) => R, ...streams: Stream<any>[]): Stream<R>; | ||
@@ -10,0 +10,0 @@ export function zipArray<A, B, R>( |
@@ -18,3 +18,3 @@ import { Sink, Task } from './types'; | ||
export type PropagateTaskRun<A> = | ||
(time: Time, value: A, sink: Sink<A>, task: PropagateTask<A>) => any | ||
(time: number, value: A, sink: Sink<A>, task: PropagateTask<A>) => any | ||
@@ -21,0 +21,0 @@ export interface PropagateTask<A> extends Task { |
@@ -42,3 +42,3 @@ export interface Stream<A> { | ||
removeAll(f: (scheduledTask: ScheduledTask) => boolean): void; | ||
runTasks(time: number, runTask: (task: ScheduledTask) => any); | ||
runTasks(time: number, runTask: (task: ScheduledTask) => any): void; | ||
} | ||
@@ -45,0 +45,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5464
586667
41
1
0