From c414423899ee1905f16b3a745b49fb1b0eb0d992 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sat, 2 Mar 2019 02:12:36 +0000 Subject: [PATCH 01/75] fix(transducers): update dedupe() w/ predicate arg - if pred is given, do not call pred for 1st value (always passes) --- packages/transducers/src/xform/dedupe.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/transducers/src/xform/dedupe.ts b/packages/transducers/src/xform/dedupe.ts index f6e132b7f4..750958e445 100644 --- a/packages/transducers/src/xform/dedupe.ts +++ b/packages/transducers/src/xform/dedupe.ts @@ -20,7 +20,10 @@ export function dedupe(...args: any[]): any { rfn, equiv ? (acc, x: T) => { - acc = equiv(prev, x) ? acc : r(acc, x); + acc = + prev !== SEMAPHORE && equiv(prev, x) + ? acc + : r(acc, x); prev = x; return acc; } From f0d53b4c902ea66b3103a3aca019505946a0e44e Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 02:56:42 +0000 Subject: [PATCH 02/75] feat(rstream): add CloseMode enum, update StreamMerge, StreamSync & opts --- packages/rstream/src/api.ts | 11 +++++++++- packages/rstream/src/stream-merge.ts | 29 ++++++++++++++++++++------- packages/rstream/src/stream-sync.ts | 30 ++++++++++++++++++++-------- packages/rstream/src/utils/close.ts | 8 ++++++++ 4 files changed, 62 insertions(+), 16 deletions(-) create mode 100644 packages/rstream/src/utils/close.ts diff --git a/packages/rstream/src/api.ts b/packages/rstream/src/api.ts index 4e16a775b7..c4273822e7 100644 --- a/packages/rstream/src/api.ts +++ b/packages/rstream/src/api.ts @@ -11,6 +11,15 @@ export const enum State { DISABLED // TODO currently unused } +/** + * Closing behavior for `StreamMerge` and `StreamSync`. + */ +export const enum CloseMode { + NEVER, + FIRST, + LAST +} + /** * Reverse lookup for `State` enums */ @@ -50,4 +59,4 @@ export interface IStream extends ISubscriber { export type StreamCancel = () => void; export type StreamSource = (sub: Stream) => StreamCancel; -export let DEBUG = false; +export let DEBUG = true; diff --git a/packages/rstream/src/stream-merge.ts b/packages/rstream/src/stream-merge.ts index 6ec4f65f47..2fc7df52c5 100644 --- a/packages/rstream/src/stream-merge.ts +++ b/packages/rstream/src/stream-merge.ts @@ -1,7 +1,8 @@ import { IID } from "@thi.ng/api"; import { Transducer } from "@thi.ng/transducers"; -import { ISubscribable, State } from "./api"; +import { CloseMode, ISubscribable, State } from "./api"; import { Subscription } from "./subscription"; +import { closeMode } from "./utils/close"; import { nextID } from "./utils/idgen"; export interface StreamMergeOpts extends IID { @@ -18,7 +19,15 @@ export interface StreamMergeOpts extends IID { * exhausted. Set to false to keep the instance alive, regardless of * inputs. */ - close: boolean; + + /** + * If false or `CloseMode.NEVER`, StreamMerge stays active even if + * all inputs are done. If true (default) or `CloseMode.LAST`, the + * StreamMerge closes when the last input is done. If + * `CloseMode.FIRST`, the instance closes when the first input is + * done. + */ + close: boolean | CloseMode; } /** @@ -26,8 +35,7 @@ export interface StreamMergeOpts extends IID { * inputs from multiple inputs and passing received values on to any * subscribers. Input streams can be added and removed dynamically. By * default, `StreamMerge` calls `done()` when the last active input is - * done, but this behavior can be overridden via the `close` option (set - * it to `false`). + * done, but this behavior can be overridden via the `close` option. * * ``` * merge({ @@ -66,19 +74,23 @@ export interface StreamMergeOpts extends IID { * // ["a", 3] * // ["b", 30] * ``` + * + * @see StreamMergeOpts + * + * @param opts */ export const merge = (opts?: Partial>) => new StreamMerge(opts); export class StreamMerge extends Subscription { sources: Map, Subscription>; - autoClose: boolean; + closeMode: CloseMode; constructor(opts?: Partial>) { opts = opts || {}; super(null, opts.xform, null, opts.id || `streammerge-${nextID()}`); this.sources = new Map(); - this.autoClose = opts.close !== false; + this.closeMode = closeMode(opts.close); if (opts.src) { this.addAll(opts.src); } @@ -159,7 +171,10 @@ export class StreamMerge extends Subscription { protected markDone(src: ISubscribable) { this.remove(src); - if (this.autoClose && !this.sources.size) { + if ( + this.closeMode === CloseMode.FIRST || + (this.closeMode === CloseMode.LAST && !this.sources.size) + ) { this.done(); } } diff --git a/packages/rstream/src/stream-sync.ts b/packages/rstream/src/stream-sync.ts index d2011355f0..8de5477cbc 100644 --- a/packages/rstream/src/stream-sync.ts +++ b/packages/rstream/src/stream-sync.ts @@ -7,8 +7,9 @@ import { partitionSync, Transducer } from "@thi.ng/transducers"; -import { ISubscribable, State } from "./api"; +import { CloseMode, ISubscribable, State } from "./api"; import { Subscription } from "./subscription"; +import { closeMode } from "./utils/close"; import { nextID } from "./utils/idgen"; export interface StreamSyncOpts extends IID { @@ -43,9 +44,13 @@ export interface StreamSyncOpts extends IID { */ all: boolean; /** - * If false, StreamSync stays active even if all inputs are done. + * If false or `CloseMode.NEVER`, StreamSync stays active even if + * all inputs are done. If true (default) or `CloseMode.LAST`, the + * StreamSync closes when the last input is done. If + * `CloseMode.FIRST`, the instance closes when the first input is + * done. */ - close: boolean; + close: boolean | CloseMode; } /** @@ -68,8 +73,7 @@ export interface StreamSyncOpts extends IID { * * Any done inputs are automatically removed. By default, `StreamSync` * calls `done()` when the last active input is done, but this behavior - * can be overridden via the `close` constructor option (set to - * `false`). + * can be overridden via the `close` constructor option. * * ```ts * const a = rs.stream(); @@ -91,6 +95,10 @@ export interface StreamSyncOpts extends IID { * The synchronization is done via the `partitionSync()` transducer from * the @thi.ng/transducers package. See this function's docs for further * details. + * + * @see StreamSyncOpts + * + * @param opts */ export const sync = (opts: Partial>) => new StreamSync(opts); @@ -117,7 +125,10 @@ export class StreamSync extends Subscription { * these IDs are used to label inputs in result tuple */ sourceIDs: Set; - autoClose: boolean; + /** + * closing behavior + */ + closeMode: CloseMode; constructor(opts: Partial>) { let srcIDs = new Set(); @@ -139,7 +150,7 @@ export class StreamSync extends Subscription { this.invRealSourceIDs = new Map(); this.idSources = new Map(); this.sourceIDs = srcIDs; - this.autoClose = opts.close !== false; + this.closeMode = closeMode(opts.close); if (opts.src) { this.addAll(opts.src); } @@ -263,7 +274,10 @@ export class StreamSync extends Subscription { protected markDone(src: ISubscribable) { this.remove(src); - if (this.autoClose && !this.sources.size) { + if ( + this.closeMode === CloseMode.FIRST || + (this.closeMode === CloseMode.LAST && !this.sources.size) + ) { this.done(); } } diff --git a/packages/rstream/src/utils/close.ts b/packages/rstream/src/utils/close.ts new file mode 100644 index 0000000000..4749dbf4d6 --- /dev/null +++ b/packages/rstream/src/utils/close.ts @@ -0,0 +1,8 @@ +import { CloseMode } from "../api"; + +export const closeMode = (close: boolean | CloseMode) => + close === true || close === undefined + ? CloseMode.LAST + : close === false + ? CloseMode.NEVER + : close; From b2e6e6fff07fca96661637af9dd004a24d02b5b1 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 02:57:39 +0000 Subject: [PATCH 03/75] fix(rstream): update MetaStream unsub handling --- packages/rstream/src/metastream.ts | 58 ++++++++++++++++++------------ 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/packages/rstream/src/metastream.ts b/packages/rstream/src/metastream.ts index eb23ecfc79..34dc51f315 100644 --- a/packages/rstream/src/metastream.ts +++ b/packages/rstream/src/metastream.ts @@ -1,4 +1,5 @@ import { Fn } from "@thi.ng/api"; +import { State } from "./api"; import { Subscription } from "./subscription"; import { nextID } from "./utils/idgen"; @@ -86,34 +87,47 @@ export class MetaStream extends Subscription { } next(x: A) { - if (this.stream) { - this.stream.unsubscribe(this.sub); - } - let stream = this.factory(x); - if (stream) { - this.stream = stream; - this.sub = this.stream.subscribe({ - next: (x) => { - stream === this.stream && super.dispatch(x); - }, - done: () => { - this.stream.unsubscribe(this.sub); - if (stream === this.stream) { - this.stream = null; - this.sub = null; - } - }, - error: (e) => super.error(e) - }); + if (this.state < State.DONE) { + if (this.stream) { + this.stream.unsubscribe(this.sub); + } + let stream = this.factory(x); + if (stream) { + this.stream = stream; + this.sub = this.stream.subscribe({ + next: (x) => { + stream === this.stream && super.dispatch(x); + }, + done: () => { + this.stream.unsubscribe(this.sub); + if (stream === this.stream) { + this.stream = null; + this.sub = null; + } + }, + error: (e) => super.error(e) + }); + } } } done() { if (this.stream) { - this.stream.unsubscribe(this.sub); - delete this.stream; - delete this.sub; + this.detach(); } super.done(); } + + unsubscribe(sub?: Subscription) { + if (this.stream && (!sub || this.subs.length === 1)) { + this.detach(); + } + return super.unsubscribe(); + } + + protected detach() { + this.stream.unsubscribe(this.sub); + delete this.stream; + delete this.sub; + } } From c74a2d06c28ef0493ab919ae093bf1671ebf2a0a Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 03:22:00 +0000 Subject: [PATCH 04/75] feat(rstream): add tween() stream operator --- packages/rstream/src/api.ts | 2 +- packages/rstream/src/index.ts | 1 + packages/rstream/src/tween.ts | 66 ++++++++++++++++++++++++++++++++++ packages/rstream/tsconfig.json | 9 +++-- 4 files changed, 72 insertions(+), 6 deletions(-) create mode 100644 packages/rstream/src/tween.ts diff --git a/packages/rstream/src/api.ts b/packages/rstream/src/api.ts index c4273822e7..3ec6d2bd5e 100644 --- a/packages/rstream/src/api.ts +++ b/packages/rstream/src/api.ts @@ -59,4 +59,4 @@ export interface IStream extends ISubscriber { export type StreamCancel = () => void; export type StreamSource = (sub: Stream) => StreamCancel; -export let DEBUG = true; +export let DEBUG = false; diff --git a/packages/rstream/src/index.ts b/packages/rstream/src/index.ts index 950f812195..4ca92afc71 100644 --- a/packages/rstream/src/index.ts +++ b/packages/rstream/src/index.ts @@ -6,6 +6,7 @@ export * from "./stream-merge"; export * from "./stream-sync"; export * from "./subscription"; export * from "./trigger"; +export * from "./tween"; export * from "./from/atom"; export * from "./from/event"; diff --git a/packages/rstream/src/tween.ts b/packages/rstream/src/tween.ts new file mode 100644 index 0000000000..f6644ee582 --- /dev/null +++ b/packages/rstream/src/tween.ts @@ -0,0 +1,66 @@ +import { Fn2 } from "@thi.ng/api"; +import { dedupe, reducer, scan } from "@thi.ng/transducers"; +import { CloseMode } from "./api"; +import { fromInterval } from "./from/interval"; +import { sync } from "./stream-sync"; +import { Subscription } from "./subscription"; + +/** + * Takes an existing stream/subscription `src` and attaches new + * subscription which interpolates between incoming values from `src` + * using the given `mix` function. The returned subscription produces + * values at a fixed frequency, defined by `delay` (in ms, default + * 16ms). In general, that frequency should be higher than that of + * `src`. + * + * If `stop` is given as well, no values will be passed downstream if + * that function returns true. This can be used to limit traffic once + * the tween target value has been reached. + * + * ``` + * val = stream(); + * + * rs.tween( + * // consume from `val` stream + * val, + * // initial start value to interpolate from + * 0, + * // interpolation fn (LERP) + * (a, b) => a + (b - a) * 0.5, + * // stop emitting values if difference to previous result < 0.01 + * (a, b) => Math.abs(a - b) < 0.01 + * ).subscribe(rs.trace("tweened")) + * + * a.next(10) + * // 5 + * // 7.5 + * // ... + * // 9.98046875 + * + * a.next(100) + * // 55 + * // 77.5 + * // ... + * // 99.989013671875 + * ``` + * + * @param src + * @param initial + * @param mix + * @param stop + * @param delay + */ +export const tween = ( + src: Subscription, + initial: T, + mix: Fn2, + stop: Fn2, + delay = 16 +) => + sync({ + src: { src, _: fromInterval(delay) }, + close: CloseMode.FIRST + }).transform( + scan(reducer(() => initial, (acc, { src }) => mix(acc, src))), + dedupe(stop || (() => false)) + ); diff --git a/packages/rstream/tsconfig.json b/packages/rstream/tsconfig.json index bcf03f18b4..b445790069 100644 --- a/packages/rstream/tsconfig.json +++ b/packages/rstream/tsconfig.json @@ -3,9 +3,8 @@ "compilerOptions": { "outDir": ".", "module": "es6", - "target": "es6" + "target": "es6", + "preserveConstEnums": false }, - "include": [ - "./src/**/*.ts" - ] -} \ No newline at end of file + "include": ["./src/**/*.ts"] +} From 2706f097f381f3ff40a60d66a5be5e5eb37dc2ed Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 03:25:45 +0000 Subject: [PATCH 05/75] docs(rstream): update readme --- packages/rstream/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/rstream/README.md b/packages/rstream/README.md index dd55b9983b..aee0c0cfc9 100644 --- a/packages/rstream/README.md +++ b/packages/rstream/README.md @@ -340,8 +340,8 @@ Returns a new `StreamMerge` instance, a subscription type consuming inputs from multiple inputs and passing received values on to any subscribers. Input streams can be added and removed dynamically. By default, `StreamMerge` calls `done()` when the last active input is -done, but this behavior can be overridden via the `close` option (set it -to `false`). +done, but this behavior can be overridden via the `close` option, using +`CloseMode` enums. ```ts merge({ @@ -436,7 +436,7 @@ can choose from two possible behaviors: Any done inputs are automatically removed. By default, `StreamSync` calls `done()` when the last active input is done, but this behavior can -be overridden via the `close` constructor option (set to `false`). +be overridden via the `close` constructor option, using `CloseMode` enums. ```ts const a = rs.stream(); @@ -600,6 +600,7 @@ Create value stream from worker messages. - [resolve](https://github.com/thi-ng/umbrella/tree/master/packages/rstream/src/subs/resolve.ts) - resolve on-stream promises - [trace](https://github.com/thi-ng/umbrella/tree/master/packages/rstream/src/subs/trace.ts) - debug helper - [transduce](https://github.com/thi-ng/umbrella/tree/master/packages/rstream/src/subs/transduce.ts) - transduce or just reduce an entire stream into a promise +- [tween](https://github.com/thi-ng/umbrella/tree/master/packages/rstream/src/tween.ts) - stream interpolation ## Authors From 6ab6858cdda4e671272ff1365a36b71fcb2a35e1 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 03:28:53 +0000 Subject: [PATCH 06/75] feat(vectors): add headingSegment*() fns, update readme --- packages/vectors/README.md | 441 ++++++++++++------------ packages/vectors/src/heading-segment.ts | 37 ++ packages/vectors/src/heading.ts | 20 ++ packages/vectors/src/index.ts | 1 + 4 files changed, 279 insertions(+), 220 deletions(-) create mode 100644 packages/vectors/src/heading-segment.ts diff --git a/packages/vectors/README.md b/packages/vectors/README.md index c17ae662c4..8b4d9e1445 100644 --- a/packages/vectors/README.md +++ b/packages/vectors/README.md @@ -9,35 +9,35 @@ This project is part of the -- [About](#about) - - [Features](#features) - - [Related packages](#related-packages) -- [Installation](#installation) -- [Dependencies](#dependencies) -- [Usage examples](#usage-examples) -- [API](#api) - - [Constants](#constants) - - [Component setters & copying](#component-setters--copying) - - [Component swizzling](#component-swizzling) - - [Vector creation](#vector-creation) - - [Basic vector math](#basic-vector-math) - - [Multiply-add](#multiply-add) - - [Constraints](#constraints) - - [Cross product](#cross-product) - - [Dot product](#dot-product) - - [Interpolation](#interpolation) - - [Normalization / magnitude](#normalization--magnitude) - - [Distances](#distances) - - [Orientation](#orientation) - - [Rotations](#rotations) - - [Polar / cartesian conversion](#polar--cartesian-conversion) - - [Randomness](#randomness) - - [Unary vector math ops](#unary-vector-math-ops) - - [Vector array batch processing](#vector-array-batch-processing) - - [Comparison / equality](#comparison--equality) - - [Code generator](#code-generator) -- [Authors](#authors) -- [License](#license) +- [About](#about) + - [Features](#features) + - [Related packages](#related-packages) +- [Installation](#installation) +- [Dependencies](#dependencies) +- [Usage examples](#usage-examples) +- [API](#api) + - [Constants](#constants) + - [Component setters & copying](#component-setters--copying) + - [Component swizzling](#component-swizzling) + - [Vector creation](#vector-creation) + - [Basic vector math](#basic-vector-math) + - [Multiply-add](#multiply-add) + - [Constraints](#constraints) + - [Cross product](#cross-product) + - [Dot product](#dot-product) + - [Interpolation](#interpolation) + - [Normalization / magnitude](#normalization--magnitude) + - [Distances](#distances) + - [Orientation](#orientation) + - [Rotations](#rotations) + - [Polar / cartesian conversion](#polar--cartesian-conversion) + - [Randomness](#randomness) + - [Unary vector math ops](#unary-vector-math-ops) + - [Vector array batch processing](#vector-array-batch-processing) + - [Comparison / equality](#comparison--equality) + - [Code generator](#code-generator) +- [Authors](#authors) +- [License](#license) @@ -51,51 +51,51 @@ layouts). ### Features -- Small & fast: The vast majority of these functions are code generated - with fixed-sized versions not using any loops. Minified + gzipped, the - entire package is ~7.6KB. -- Unified API: Any `ArrayLike` type can be used as vector containers - (e.g. JS arrays, typed arrays, custom impls). Most functions are - implemented as multi-methods, dispatching to any potentially optimized - versions based on given vector arguments. -- Highly modular: Each function is defined in its own submodule / file. - In addition to each generic multi-method base function, all - fixed-length optimized versions are exported too. E.g. If - [`add`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/add.ts) - performs vector addition on arbitrary-length vectors, `add2`, `add3`, - `add4` are the optimized version for fixed-length vectors... -- Extensible: Custom vector ops can be defined in a similar manner using - the provided code generation helpers (see - [vop.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/vop.ts) - and - [codegen.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/codegen.ts) - for details). -- Immutable by default: Each operation producing a vector result takes - an output vector as first argument. If `null`, the vector given as 2nd - argument will be used as output (i.e. for mutation). -- Strided vector support is handled via the lightweight - [`Vec2/3/4`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/vec2.ts) - class wrappers and the - [`gvec()`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/gvec.ts) - proxy (for generic, arbitrary-length vectors). These types behave like - normal arrays (for read/write operations) and are also iterable. A - subset of functions (suffixed with `S`, e.g. - [`addS`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/adds.ts) - vs. `add`) also support striding without the need for extra class - wrappers. This is handled via additional index and stride arguments - for each input/output vector. These functions are only available for - sizes 2 / 3 / 4, though. -- Random vector functions support the `IRandom` interface defined by - [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/master/packages/random) - to work with custom (P)RNGs. If omitted, the built-in `Math.random()` - will be used. +- Small & fast: The vast majority of these functions are code generated + with fixed-sized versions not using any loops. Minified + gzipped, the + entire package is ~7.6KB. +- Unified API: Any `ArrayLike` type can be used as vector containers + (e.g. JS arrays, typed arrays, custom impls). Most functions are + implemented as multi-methods, dispatching to any potentially optimized + versions based on given vector arguments. +- Highly modular: Each function is defined in its own submodule / file. + In addition to each generic multi-method base function, all + fixed-length optimized versions are exported too. E.g. If + [`add`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/add.ts) + performs vector addition on arbitrary-length vectors, `add2`, `add3`, + `add4` are the optimized version for fixed-length vectors... +- Extensible: Custom vector ops can be defined in a similar manner using + the provided code generation helpers (see + [vop.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/vop.ts) + and + [codegen.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/codegen.ts) + for details). +- Immutable by default: Each operation producing a vector result takes + an output vector as first argument. If `null`, the vector given as 2nd + argument will be used as output (i.e. for mutation). +- Strided vector support is handled via the lightweight + [`Vec2/3/4`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/vec2.ts) + class wrappers and the + [`gvec()`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/gvec.ts) + proxy (for generic, arbitrary-length vectors). These types behave like + normal arrays (for read/write operations) and are also iterable. A + subset of functions (suffixed with `S`, e.g. + [`addS`](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/adds.ts) + vs. `add`) also support striding without the need for extra class + wrappers. This is handled via additional index and stride arguments + for each input/output vector. These functions are only available for + sizes 2 / 3 / 4, though. +- Random vector functions support the `IRandom` interface defined by + [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/master/packages/random) + to work with custom (P)RNGs. If omitted, the built-in `Math.random()` + will be used. ### Related packages -- [@thi.ng/color](https://github.com/thi-ng/umbrella/tree/master/packages/color) - vector based color operations / conversions -- [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/master/packages/geom) - 2D/3D geometry types & operations -- [@thi.ng/matrices](https://github.com/thi-ng/umbrella/tree/master/packages/matrices) - 2x2, 2x3, 3x3, 4x4 matrix & quaternion ops -- [@thi.ng/vector-pools](https://github.com/thi-ng/umbrella/tree/master/packages/vector-pools) - operations on memory mapped data +- [@thi.ng/color](https://github.com/thi-ng/umbrella/tree/master/packages/color) - vector based color operations / conversions +- [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/master/packages/geom) - 2D/3D geometry types & operations +- [@thi.ng/matrices](https://github.com/thi-ng/umbrella/tree/master/packages/matrices) - 2x2, 2x3, 3x3, 4x4 matrix & quaternion ops +- [@thi.ng/vector-pools](https://github.com/thi-ng/umbrella/tree/master/packages/vector-pools) - operations on memory mapped data ## Installation @@ -105,13 +105,13 @@ yarn add @thi.ng/vectors ## Dependencies -- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) -- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/master/packages/checks) -- [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/master/packages/equiv) -- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) -- [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/master/packages/math) -- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/master/packages/random) -- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/master/packages/transducers) +- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) +- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/master/packages/checks) +- [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/master/packages/equiv) +- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) +- [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/master/packages/math) +- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/master/packages/random) +- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/master/packages/transducers) ## Usage examples @@ -119,7 +119,7 @@ yarn add @thi.ng/vectors import * as v from "@thi.ng/vectors"; // immutable vector addition (1st arg is result) -v.add([], [1, 2, 3, 4], [10, 20, 30, 40]) +v.add([], [1, 2, 3, 4], [10, 20, 30, 40]); // [11, 22, 33, 44] // mutable addition (if first arg is null) @@ -162,49 +162,49 @@ v.swizzle4([], [1, 2], 1, 1, 0, 0); ### Constants -- `MAX2` / `MAX3` / `MAX4` - each component `+Infinity` -- `MIN2` / `MIN3` / `MIN4` - each component `-Infinity` -- `ONE2` / `ONE3` / `ONE4` - each component `1` -- `ZERO2` / `ZERO3` / `ZERO4` - each component `0` -- `X2` / `X3` / `X4` - positive X axis -- `Y2` / `Y3` / `Y4` - positive Y axis -- `Z3` / `Z4` - positive Z axis -- `W4` - positive W axis +- `MAX2` / `MAX3` / `MAX4` - each component `+Infinity` +- `MIN2` / `MIN3` / `MIN4` - each component `-Infinity` +- `ONE2` / `ONE3` / `ONE4` - each component `1` +- `ZERO2` / `ZERO3` / `ZERO4` - each component `0` +- `X2` / `X3` / `X4` - positive X axis +- `Y2` / `Y3` / `Y4` - positive Y axis +- `Z3` / `Z4` - positive Z axis +- `W4` - positive W axis ### Component setters & copying -- `set` / `set2` / `set3` / `set4` -- `setC` / `setC2` / `setC3` / `setC4` / `setC6` -- `setN` / `setN2` / `setN3` / `setN4` -- `setS` / `setS2` / `setS3` / `setS4` -- `setSN2` / `setSN3` / `setSN4` -- `copy` -- `empty` -- `one` -- `zero` +- `set` / `set2` / `set3` / `set4` +- `setC` / `setC2` / `setC3` / `setC4` / `setC6` +- `setN` / `setN2` / `setN3` / `setN4` +- `setS` / `setS2` / `setS3` / `setS4` +- `setSN2` / `setSN3` / `setSN4` +- `copy` +- `empty` +- `one` +- `zero` ### Component swizzling -- `swizzle2` / `swizzle3` / `swizzle4` -- `swapXY` / `swapXZ` / `swapYZ` +- `swizzle2` / `swizzle3` / `swizzle4` +- `swapXY` / `swapXZ` / `swapYZ` ### Vector creation Functions to create wrapped vector instances: -- `vec2` / `vec2n` -- `vec3` / `vec3n` -- `vec4` / `vec4n` -- `gvec` +- `vec2` / `vec2n` +- `vec3` / `vec3n` +- `vec4` / `vec4n` +- `gvec` Wrap existing vanilla vectors: -- `asVec2` / `asVec3` / `asVec4` +- `asVec2` / `asVec3` / `asVec4` Vanilla vector (array) factories: -- `ones` -- `zeroes` +- `ones` +- `zeroes` ### Basic vector math @@ -212,122 +212,123 @@ Vanilla vector (array) factories: Component wise op with 2 input vectors: -- `add` / `add2` / `add3` / `add4` -- `div` / `div2` / `div3` / `div4` -- `mul` / `mul2` / `mul3` / `mul4` -- `sub` / `sub2` / `sub3` / `sub4` -- `mod` / `mod2` / `mod3` / `mod4` -- `pow` / `pow2` / `pow3` / `pow4` +- `add` / `add2` / `add3` / `add4` +- `div` / `div2` / `div3` / `div4` +- `mul` / `mul2` / `mul3` / `mul4` +- `sub` / `sub2` / `sub3` / `sub4` +- `mod` / `mod2` / `mod3` / `mod4` +- `pow` / `pow2` / `pow3` / `pow4` #### Vector / scalar Component wise op with one input vector and single scalar: -- `addN` / `addN2` / `addN3` / `addN4` -- `divN` / `divN2` / `divN3` / `divN4` -- `mulN` / `mulN2` / `mulN3` / `mulN4` -- `subN` / `subN2` / `subN3` / `subN4` -- `neg` - same as `mulN(out, v, -1)` -- `modN` / `modN2` / `modN3` / `modN4` -- `powN` / `powN2` / `powN3` / `powN4` +- `addN` / `addN2` / `addN3` / `addN4` +- `divN` / `divN2` / `divN3` / `divN4` +- `mulN` / `mulN2` / `mulN3` / `mulN4` +- `subN` / `subN2` / `subN3` / `subN4` +- `neg` - same as `mulN(out, v, -1)` +- `modN` / `modN2` / `modN3` / `modN4` +- `powN` / `powN2` / `powN3` / `powN4` #### Strided vectors Functions for memory mapped, strided vectors (without requiring wrappers): -- `addS2` / `addS3` / `addS4` -- `divS2` / `divS3` / `divS4` -- `mulS2` / `mulS3` / `mulS4` -- `subS2` / `subS3` / `subS4` +- `addS2` / `addS3` / `addS4` +- `divS2` / `divS3` / `divS4` +- `mulS2` / `mulS3` / `mulS4` +- `subS2` / `subS3` / `subS4` ### Multiply-add -- `addm` / `addm2` / `addm3` / `addm4` -- `addmN` / `addmN2` / `addmN3` / `addmN4` -- `addW2` / `addW3` / `addW4` / `addW5` -- `madd` / `madd2` / `madd3` / `madd4` -- `maddN` / `maddN2` / `maddN3` / `maddN4` -- `subm` / `subm2` / `subm3` / `subm4` -- `submN` / `submN2` / `submN3` / `submN4` +- `addm` / `addm2` / `addm3` / `addm4` +- `addmN` / `addmN2` / `addmN3` / `addmN4` +- `addW2` / `addW3` / `addW4` / `addW5` +- `madd` / `madd2` / `madd3` / `madd4` +- `maddN` / `maddN2` / `maddN3` / `maddN4` +- `subm` / `subm2` / `subm3` / `subm4` +- `submN` / `submN2` / `submN3` / `submN4` ### Constraints -- `clamp` -- `clamp2` / `clamp3` / `clamp4` -- `clampN` / `clampN2` / `clampN3` / `clampN4` -- `clamp01` / `clamp01_2` / `clamp01_3` / `clamp01_4` -- `clamp11` / `clamp11_2` / `clamp11_3` / `clamp11_4` -- `max` / `max2` / `max3` / `max4` -- `min` / `min2` / `min3` / `min4` +- `clamp` +- `clamp2` / `clamp3` / `clamp4` +- `clampN` / `clampN2` / `clampN3` / `clampN4` +- `clamp01` / `clamp01_2` / `clamp01_3` / `clamp01_4` +- `clamp11` / `clamp11_2` / `clamp11_3` / `clamp11_4` +- `max` / `max2` / `max3` / `max4` +- `min` / `min2` / `min3` / `min4` ### Cross product -- `cross2` -- `cross3` -- `orthoNormal3` -- `signedArea2` +- `cross2` +- `cross3` +- `orthoNormal3` +- `signedArea2` ### Dot product -- `dot` -- `dot2` / `dot3` / `dot4` -- `dotC4` / `dotC6` / `dotC8` -- `dotS2` / `dotS3` / `dotS4` +- `dot` +- `dot2` / `dot3` / `dot4` +- `dotC4` / `dotC6` / `dotC8` +- `dotS2` / `dotS3` / `dotS4` ### Interpolation -- `fit` / `fit2` / `fit3` / `fit4` -- `fit01` / `fit01_2` / `fit01_3` / `fit01_4` -- `fit11` / `fit11_2` / `fit11_3` / `fit11_4` -- `mix` / `mix2` / `mix3` / `mix4` -- `mixN` / `mixN2` / `mixN3` / `mixN4` -- `mixBilinear` / `mixBilinear2` / `mixBilinear3` / `mixBilinear4` -- `mixCubic` -- `mixQuadratic` -- `smoothStep` / `smoothStep2` / `smoothStep3` / `smoothStep4` -- `step` / `step2` / `step3` / `step4` +- `fit` / `fit2` / `fit3` / `fit4` +- `fit01` / `fit01_2` / `fit01_3` / `fit01_4` +- `fit11` / `fit11_2` / `fit11_3` / `fit11_4` +- `mix` / `mix2` / `mix3` / `mix4` +- `mixN` / `mixN2` / `mixN3` / `mixN4` +- `mixBilinear` / `mixBilinear2` / `mixBilinear3` / `mixBilinear4` +- `mixCubic` +- `mixQuadratic` +- `smoothStep` / `smoothStep2` / `smoothStep3` / `smoothStep4` +- `step` / `step2` / `step3` / `step4` ### Normalization / magnitude -- `limit` -- `mag` -- `magSq` / `magSq2` / `magSq3` / `magSq4` -- `normalize` +- `limit` +- `mag` +- `magSq` / `magSq2` / `magSq3` / `magSq4` +- `normalize` ### Distances -- `dist` -- `distSq` / `distSq2` / `distSq3` / `distSq4` -- `distChebyshev` / `distChebyshev2` / `distChebyshev3` / `distChebyshev4` -- `distManhattan` / `distManhattan2` / `distManhattan3` / `distManhattan4` +- `dist` +- `distSq` / `distSq2` / `distSq3` / `distSq4` +- `distChebyshev` / `distChebyshev2` / `distChebyshev3` / `distChebyshev4` +- `distManhattan` / `distManhattan2` / `distManhattan3` / `distManhattan4` ### Orientation -- `angleBetween2` / `angleBetween3` -- `angleRatio` -- `bisect2` -- `direction` -- `faceForward` -- `heading` / `headingXY` / `headingXZ` / `headingYZ` -- `normalLeft2` / `normalRight2` -- `perpendicularLeft2` / `perpendicularRight2` -- `project` -- `reflect` -- `refract` +- `angleBetween2` / `angleBetween3` +- `angleRatio` +- `bisect2` +- `direction` +- `faceForward` +- `heading` / `headingXY` / `headingXZ` / `headingYZ` +- `headingSegment` / `headingSegmentXY` / `headingSegmentXZ` / `headingSegmentYZ` +- `normalLeft2` / `normalRight2` +- `perpendicularLeft2` / `perpendicularRight2` +- `project` +- `reflect` +- `refract` ### Rotations (Also see rotation matrices provided by [@thi.ng/matrices](https://github.com/thi-ng/umbrella/tree/master/packages/matrices)) -- `rotateAroundAxis3` -- `rotateAroundPoint2` -- `rotateX` \ `rotateY` \ `rotateZ` +- `rotateAroundAxis3` +- `rotateAroundPoint2` +- `rotateX` \ `rotateY` \ `rotateZ` ### Polar / cartesian conversion -- `cartesian` / `cartesian2` / `cartesian3` -- `polar` / `polar2` / `polar3` +- `cartesian` / `cartesian2` / `cartesian3` +- `polar` / `polar2` / `polar3` ### Randomness @@ -335,68 +336,68 @@ All ops support custom PRNG impls based on the [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/master/packages/random) `IRandom` interface and use `Math.random` by default: -- `jitter` -- `randMinMax` / `randMinMax2` / `randMinMax3` / `randMinMax4` -- `randNorm` -- `random` / `random2` / `random3` / `random4` +- `jitter` +- `randMinMax` / `randMinMax2` / `randMinMax3` / `randMinMax4` +- `randNorm` +- `random` / `random2` / `random3` / `random4` ### Unary vector math ops -- `abs` / `abs2` / `abs3` / `abs4` -- `acos` / `acos2` / `acos3` / `acos4` -- `asin` / `asin2` / `asin3` / `asin4` -- `ceil` / `ceil2` / `ceil3` / `ceil4` -- `cos` / `cos2` / `cos3` / `cos4` -- `cosh` / `cosh2` / `cosh3` / `cosh4` -- `exp` / `exp2` / `exp3` / `exp4` -- `floor` / `floor2` / `floor3` / `floor4` -- `fract` / `fract2` / `fract3` / `fract4` -- `fromHomogeneous` / `fromHomogeneous3` / `fromHomogeneous4` -- `invert` / `invert2` / `invert3` / `invert4` -- `invSqrt` / `invSqrt2` / `invSqrt3` / `invSqrt4` -- `log` / `log2` / `log3` / `log4` -- `major` / `major2` / `major3` / `major4` -- `minor` / `minor2` / `minor3` / `minor4` -- `round` / `round2` / `round3` / `round4` -- `sign` / `sign2` / `sign3` / `sign4` -- `sin` / `sin2` / `sin3` / `sin4` -- `sinh` / `sinh2` / `sinh3` / `sinh4` -- `sqrt` / `sqrt2` / `sqrt3` / `sqrt4` -- `sum` / `sum2` / `sum3` / `sum4` -- `tan` / `tan2` / `tan3` / `tan4` -- `tanh` / `tanh2` / `tanh3` / `tanh4` -- `trunc` / `trunc2` / `trunc3` / `trunc4` -- `wrap` / `wrap2` / `wrap3` / `wrap4` +- `abs` / `abs2` / `abs3` / `abs4` +- `acos` / `acos2` / `acos3` / `acos4` +- `asin` / `asin2` / `asin3` / `asin4` +- `ceil` / `ceil2` / `ceil3` / `ceil4` +- `cos` / `cos2` / `cos3` / `cos4` +- `cosh` / `cosh2` / `cosh3` / `cosh4` +- `exp` / `exp2` / `exp3` / `exp4` +- `floor` / `floor2` / `floor3` / `floor4` +- `fract` / `fract2` / `fract3` / `fract4` +- `fromHomogeneous` / `fromHomogeneous3` / `fromHomogeneous4` +- `invert` / `invert2` / `invert3` / `invert4` +- `invSqrt` / `invSqrt2` / `invSqrt3` / `invSqrt4` +- `log` / `log2` / `log3` / `log4` +- `major` / `major2` / `major3` / `major4` +- `minor` / `minor2` / `minor3` / `minor4` +- `round` / `round2` / `round3` / `round4` +- `sign` / `sign2` / `sign3` / `sign4` +- `sin` / `sin2` / `sin3` / `sin4` +- `sinh` / `sinh2` / `sinh3` / `sinh4` +- `sqrt` / `sqrt2` / `sqrt3` / `sqrt4` +- `sum` / `sum2` / `sum3` / `sum4` +- `tan` / `tan2` / `tan3` / `tan4` +- `tanh` / `tanh2` / `tanh3` / `tanh4` +- `trunc` / `trunc2` / `trunc3` / `trunc4` +- `wrap` / `wrap2` / `wrap3` / `wrap4` ### Vector array batch processing Functions to transform flat / strided buffers w/ vector operations: -- `mapV` / `mapVN` / `mapVV` / `mapVVN` / `mapVVV` +- `mapV` / `mapVN` / `mapVV` / `mapVVN` / `mapVVV` ### Comparison / equality -- `comparator2` / `comparator3` / `comparator4` -- `eqDelta` / `eqDelta2` / `eqDelta3` / `eqDelta4` -- `eqDeltaS` -- `eqDeltaArray` +- `comparator2` / `comparator3` / `comparator4` +- `eqDelta` / `eqDelta2` / `eqDelta3` / `eqDelta4` +- `eqDeltaS` +- `eqDeltaArray` ### Code generator -- `compile` / `compileG` / `compileGHOF` / `compileHOF` -- `defOp` / `defOpS` / `defFnOp` / `defHofOp` -- `defMathNOp` / `defMathOp` -- `vop` +- `compile` / `compileG` / `compileGHOF` / `compileHOF` +- `defOp` / `defOpS` / `defFnOp` / `defHofOp` +- `defMathNOp` / `defMathOp` +- `vop` For more information about the code generator see: -- [codegen.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/codegen.ts) -- [templates.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/templates.ts) -- [vop.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/vop.ts) +- [codegen.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/codegen.ts) +- [templates.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/templates.ts) +- [vop.ts](https://github.com/thi-ng/umbrella/tree/master/packages/vectors/src/internal/vop.ts) ## Authors -- Karsten Schmidt +- Karsten Schmidt ## License diff --git a/packages/vectors/src/heading-segment.ts b/packages/vectors/src/heading-segment.ts new file mode 100644 index 0000000000..587dad4974 --- /dev/null +++ b/packages/vectors/src/heading-segment.ts @@ -0,0 +1,37 @@ +import { atan2Abs } from "@thi.ng/math"; +import { ReadonlyVec } from "./api"; + +/** + * Computes direction angle (in radians) of line segment `a` -> `b` in + * XY plane. + * + * @param a + * @param b + */ +export const headingSegmentXY = (a: ReadonlyVec, b: ReadonlyVec) => + atan2Abs(b[1] - a[1], b[0] - a[0]); + +/** + * Computes direction angle (in radians) of line segment `a` -> `b` in + * XZ plane. + * + * @param a + * @param b + */ +export const headingSegmentXZ = (a: ReadonlyVec, b: ReadonlyVec) => + atan2Abs(b[2] - a[2], b[0] - a[0]); + +/** + * Computes direction angle (in radians) of line segment `a` -> `b` in + * ZY plane. + * + * @param a + * @param b + */ +export const headingSegmentYZ = (a: ReadonlyVec, b: ReadonlyVec) => + atan2Abs(b[2] - a[2], b[1] - a[1]); + +/** + * Same as `headingSegmentXY`. + */ +export const headingSegment = headingSegmentXY; diff --git a/packages/vectors/src/heading.ts b/packages/vectors/src/heading.ts index f4f7d8bb45..c22f94a612 100644 --- a/packages/vectors/src/heading.ts +++ b/packages/vectors/src/heading.ts @@ -1,8 +1,28 @@ import { atan2Abs } from "@thi.ng/math"; import { ReadonlyVec } from "./api"; +/** + * Returns orientation angle (in radians) of vector `a` in XY plane. + * + * @param a + */ export const headingXY = (a: ReadonlyVec) => atan2Abs(a[1], a[0]); + +/** + * Returns orientation angle (in radians) of vector `a` in XZ plane. + * + * @param a + */ export const headingXZ = (a: ReadonlyVec) => atan2Abs(a[2], a[0]); + +/** + * Returns orientation angle (in radians) of vector `a` in ZY plane. + * + * @param a + */ export const headingYZ = (a: ReadonlyVec) => atan2Abs(a[2], a[1]); +/** + * Same as `headingXY` + */ export const heading = headingXY; diff --git a/packages/vectors/src/index.ts b/packages/vectors/src/index.ts index 355e027bc5..68953a762f 100644 --- a/packages/vectors/src/index.ts +++ b/packages/vectors/src/index.ts @@ -51,6 +51,7 @@ export * from "./floor"; export * from "./fract"; export * from "./gvec"; export * from "./heading"; +export * from "./heading-segment"; export * from "./homogeneous"; export * from "./invert"; export * from "./invsqrt"; From ce74afc55215fee990748c9e7d555a839adcec69 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 3 Mar 2019 03:47:09 +0000 Subject: [PATCH 07/75] Publish - @thi.ng/adjacency@0.1.4 - @thi.ng/associative@1.0.8 - @thi.ng/bencode@0.2.4 - @thi.ng/cache@1.0.8 - @thi.ng/color@0.1.9 - @thi.ng/csp@1.0.8 - @thi.ng/dcons@2.0.8 - @thi.ng/dgraph@1.0.8 - @thi.ng/fsm@2.1.4 - @thi.ng/geom-accel@1.1.6 - @thi.ng/geom-api@0.1.5 - @thi.ng/geom-arc@0.1.6 - @thi.ng/geom-clip@0.0.8 - @thi.ng/geom-closest-point@0.1.6 - @thi.ng/geom-hull@0.0.8 - @thi.ng/geom-isec@0.1.6 - @thi.ng/geom-isoline@0.1.6 - @thi.ng/geom-poly-utils@0.1.6 - @thi.ng/geom-resample@0.1.6 - @thi.ng/geom-splines@0.1.6 - @thi.ng/geom-subdiv-curve@0.1.5 - @thi.ng/geom-tessellate@0.1.6 - @thi.ng/geom-voronoi@0.1.6 - @thi.ng/geom@1.2.10 - @thi.ng/hdom-canvas@2.0.3 - @thi.ng/hdom-components@3.0.8 - @thi.ng/hiccup-css@1.0.8 - @thi.ng/hiccup-markdown@1.0.11 - @thi.ng/hiccup-svg@3.1.10 - @thi.ng/iges@1.0.8 - @thi.ng/iterators@5.0.8 - @thi.ng/lsys@0.2.2 - @thi.ng/matrices@0.1.9 - @thi.ng/poisson@0.2.5 - @thi.ng/range-coder@1.0.8 - @thi.ng/rstream-csp@1.0.8 - @thi.ng/rstream-dot@1.0.8 - @thi.ng/rstream-gestures@1.0.8 - @thi.ng/rstream-graph@3.0.8 - @thi.ng/rstream-log@2.0.8 - @thi.ng/rstream-query@1.0.8 - @thi.ng/rstream@2.2.0 - @thi.ng/sax@1.0.8 - @thi.ng/sparse@0.1.4 - @thi.ng/transducers-binary@0.2.3 - @thi.ng/transducers-fsm@1.0.8 - @thi.ng/transducers-hdom@2.0.9 - @thi.ng/transducers-stats@1.0.8 - @thi.ng/transducers@5.1.2 - @thi.ng/vector-pools@0.2.5 - @thi.ng/vectors@2.4.0 --- packages/adjacency/CHANGELOG.md | 8 ++++++ packages/adjacency/package.json | 8 +++--- packages/associative/CHANGELOG.md | 8 ++++++ packages/associative/package.json | 6 ++--- packages/bencode/CHANGELOG.md | 8 ++++++ packages/bencode/package.json | 6 ++--- packages/cache/CHANGELOG.md | 8 ++++++ packages/cache/package.json | 6 ++--- packages/color/CHANGELOG.md | 8 ++++++ packages/color/package.json | 6 ++--- packages/csp/CHANGELOG.md | 8 ++++++ packages/csp/package.json | 6 ++--- packages/dcons/CHANGELOG.md | 8 ++++++ packages/dcons/package.json | 4 +-- packages/dgraph/CHANGELOG.md | 8 ++++++ packages/dgraph/package.json | 6 ++--- packages/fsm/CHANGELOG.md | 8 ++++++ packages/fsm/package.json | 4 +-- packages/geom-accel/CHANGELOG.md | 8 ++++++ packages/geom-accel/package.json | 8 +++--- packages/geom-api/CHANGELOG.md | 8 ++++++ packages/geom-api/package.json | 4 +-- packages/geom-arc/CHANGELOG.md | 8 ++++++ packages/geom-arc/package.json | 8 +++--- packages/geom-clip/CHANGELOG.md | 8 ++++++ packages/geom-clip/package.json | 8 +++--- packages/geom-closest-point/CHANGELOG.md | 8 ++++++ packages/geom-closest-point/package.json | 4 +-- packages/geom-hull/CHANGELOG.md | 8 ++++++ packages/geom-hull/package.json | 4 +-- packages/geom-isec/CHANGELOG.md | 8 ++++++ packages/geom-isec/package.json | 8 +++--- packages/geom-isoline/CHANGELOG.md | 8 ++++++ packages/geom-isoline/package.json | 6 ++--- packages/geom-poly-utils/CHANGELOG.md | 8 ++++++ packages/geom-poly-utils/package.json | 6 ++--- packages/geom-resample/CHANGELOG.md | 8 ++++++ packages/geom-resample/package.json | 8 +++--- packages/geom-splines/CHANGELOG.md | 8 ++++++ packages/geom-splines/package.json | 10 ++++---- packages/geom-subdiv-curve/CHANGELOG.md | 8 ++++++ packages/geom-subdiv-curve/package.json | 8 +++--- packages/geom-tessellate/CHANGELOG.md | 8 ++++++ packages/geom-tessellate/package.json | 12 ++++----- packages/geom-voronoi/CHANGELOG.md | 8 ++++++ packages/geom-voronoi/package.json | 10 ++++---- packages/geom/CHANGELOG.md | 8 ++++++ packages/geom/package.json | 32 ++++++++++++------------ packages/hdom-canvas/CHANGELOG.md | 8 ++++++ packages/hdom-canvas/package.json | 4 +-- packages/hdom-components/CHANGELOG.md | 8 ++++++ packages/hdom-components/package.json | 6 ++--- packages/hiccup-css/CHANGELOG.md | 8 ++++++ packages/hiccup-css/package.json | 4 +-- packages/hiccup-markdown/CHANGELOG.md | 8 ++++++ packages/hiccup-markdown/package.json | 6 ++--- packages/hiccup-svg/CHANGELOG.md | 8 ++++++ packages/hiccup-svg/package.json | 4 +-- packages/iges/CHANGELOG.md | 8 ++++++ packages/iges/package.json | 4 +-- packages/iterators/CHANGELOG.md | 8 ++++++ packages/iterators/package.json | 4 +-- packages/lsys/CHANGELOG.md | 8 ++++++ packages/lsys/package.json | 6 ++--- packages/matrices/CHANGELOG.md | 8 ++++++ packages/matrices/package.json | 4 +-- packages/poisson/CHANGELOG.md | 8 ++++++ packages/poisson/package.json | 6 ++--- packages/range-coder/CHANGELOG.md | 8 ++++++ packages/range-coder/package.json | 4 +-- packages/rstream-csp/CHANGELOG.md | 8 ++++++ packages/rstream-csp/package.json | 6 ++--- packages/rstream-dot/CHANGELOG.md | 8 ++++++ packages/rstream-dot/package.json | 4 +-- packages/rstream-gestures/CHANGELOG.md | 8 ++++++ packages/rstream-gestures/package.json | 6 ++--- packages/rstream-graph/CHANGELOG.md | 8 ++++++ packages/rstream-graph/package.json | 6 ++--- packages/rstream-log/CHANGELOG.md | 8 ++++++ packages/rstream-log/package.json | 6 ++--- packages/rstream-query/CHANGELOG.md | 8 ++++++ packages/rstream-query/package.json | 10 ++++---- packages/rstream/CHANGELOG.md | 17 +++++++++++++ packages/rstream/package.json | 6 ++--- packages/sax/CHANGELOG.md | 8 ++++++ packages/sax/package.json | 6 ++--- packages/sparse/CHANGELOG.md | 8 ++++++ packages/sparse/package.json | 4 +-- packages/transducers-binary/CHANGELOG.md | 8 ++++++ packages/transducers-binary/package.json | 4 +-- packages/transducers-fsm/CHANGELOG.md | 8 ++++++ packages/transducers-fsm/package.json | 4 +-- packages/transducers-hdom/CHANGELOG.md | 8 ++++++ packages/transducers-hdom/package.json | 4 +-- packages/transducers-stats/CHANGELOG.md | 8 ++++++ packages/transducers-stats/package.json | 6 ++--- packages/transducers/CHANGELOG.md | 11 ++++++++ packages/transducers/package.json | 2 +- packages/vector-pools/CHANGELOG.md | 8 ++++++ packages/vector-pools/package.json | 4 +-- packages/vectors/CHANGELOG.md | 11 ++++++++ packages/vectors/package.json | 4 +-- 102 files changed, 584 insertions(+), 161 deletions(-) diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md index 1262495d70..99db19f748 100644 --- a/packages/adjacency/CHANGELOG.md +++ b/packages/adjacency/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.3...@thi.ng/adjacency@0.1.4) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/adjacency + + + + + ## [0.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.2...@thi.ng/adjacency@0.1.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/adjacency diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json index 2e90bdc5e7..ebdd21e7f4 100644 --- a/packages/adjacency/package.json +++ b/packages/adjacency/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/adjacency", - "version": "0.1.3", + "version": "0.1.4", "description": "Sparse & bitwise adjacency matrices for directed / undirected graphs", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/vectors": "^2.3.2", + "@thi.ng/vectors": "^2.4.0", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -37,8 +37,8 @@ "@thi.ng/binary": "^1.0.3", "@thi.ng/bitfield": "^0.1.1", "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.7", - "@thi.ng/sparse": "^0.1.3" + "@thi.ng/dcons": "^2.0.8", + "@thi.ng/sparse": "^0.1.4" }, "keywords": [ "adjacency", diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md index e67ff2e8ac..bcc0a03e27 100644 --- a/packages/associative/CHANGELOG.md +++ b/packages/associative/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.7...@thi.ng/associative@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/associative + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.6...@thi.ng/associative@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/associative diff --git a/packages/associative/package.json b/packages/associative/package.json index 2f52863cc0..cd2a405b32 100644 --- a/packages/associative/package.json +++ b/packages/associative/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/associative", - "version": "1.0.7", + "version": "1.0.8", "description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations", "module": "./index.js", "main": "./lib/index.js", @@ -35,10 +35,10 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/compare": "^1.0.3", - "@thi.ng/dcons": "^2.0.7", + "@thi.ng/dcons": "^2.0.8", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "data structures", diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md index 4b46137578..01501cf39e 100644 --- a/packages/bencode/CHANGELOG.md +++ b/packages/bencode/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.3...@thi.ng/bencode@0.2.4) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/bencode + + + + + ## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.2...@thi.ng/bencode@0.2.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/bencode diff --git a/packages/bencode/package.json b/packages/bencode/package.json index fee74e37ca..1b26ab92aa 100644 --- a/packages/bencode/package.json +++ b/packages/bencode/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bencode", - "version": "0.2.3", + "version": "0.2.4", "description": "Bencode binary encoder / decoder with optional UTF8 encoding", "module": "./index.js", "main": "./lib/index.js", @@ -37,8 +37,8 @@ "@thi.ng/checks": "^2.1.1", "@thi.ng/defmulti": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/transducers-binary": "^0.2.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/transducers-binary": "^0.2.3" }, "keywords": [ "bencode", diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index de6ecdee42..153a8af0ac 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.7...@thi.ng/cache@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/cache + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.6...@thi.ng/cache@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 9235099af1..1564f33bdb 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/cache", - "version": "1.0.7", + "version": "1.0.8", "description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/dcons": "^2.0.7", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/dcons": "^2.0.8", + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "cache", diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md index 35f95f1ea8..4e8bd63853 100644 --- a/packages/color/CHANGELOG.md +++ b/packages/color/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.8...@thi.ng/color@0.1.9) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/color + + + + + ## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.7...@thi.ng/color@0.1.8) (2019-03-01) **Note:** Version bump only for package @thi.ng/color diff --git a/packages/color/package.json b/packages/color/package.json index 160f29acaa..399b073ed8 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/color", - "version": "0.1.8", + "version": "0.1.9", "description": "Raw, array-based, color ops, conversions, opt. type wrappers, multi-color gradients", "module": "./index.js", "main": "./lib/index.js", @@ -38,8 +38,8 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "alpha", diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md index d73465759c..6e31a26e3e 100644 --- a/packages/csp/CHANGELOG.md +++ b/packages/csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.7...@thi.ng/csp@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/csp + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.6...@thi.ng/csp@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/csp diff --git a/packages/csp/package.json b/packages/csp/package.json index 6714827be8..1b3b9dfb8f 100644 --- a/packages/csp/package.json +++ b/packages/csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/csp", - "version": "1.0.7", + "version": "1.0.8", "description": "ES6 promise based CSP implementation", "module": "./index.js", "main": "./lib/index.js", @@ -39,9 +39,9 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/arrays": "^0.1.1", "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.7", + "@thi.ng/dcons": "^2.0.8", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "async", diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md index 907a7c9a96..457edcbe62 100644 --- a/packages/dcons/CHANGELOG.md +++ b/packages/dcons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.7...@thi.ng/dcons@2.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/dcons + + + + + ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.6...@thi.ng/dcons@2.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/dcons diff --git a/packages/dcons/package.json b/packages/dcons/package.json index a73f83430a..dc560308e8 100644 --- a/packages/dcons/package.json +++ b/packages/dcons/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dcons", - "version": "2.0.7", + "version": "2.0.8", "description": "Comprehensive doubly linked list structure w/ iterator support", "module": "./index.js", "main": "./lib/index.js", @@ -37,7 +37,7 @@ "@thi.ng/compare": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "datastructure", diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md index 1d9c222a8d..a0dde25683 100644 --- a/packages/dgraph/CHANGELOG.md +++ b/packages/dgraph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.7...@thi.ng/dgraph@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/dgraph + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.6...@thi.ng/dgraph@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/dgraph diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json index 254dc42732..6b11e4bf10 100644 --- a/packages/dgraph/package.json +++ b/packages/dgraph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dgraph", - "version": "1.0.7", + "version": "1.0.8", "description": "Type-agnostic directed acyclic graph (DAG) & graph operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.7", + "@thi.ng/associative": "^1.0.8", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "data structure", diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md index dd3fbb9c92..021d532dd2 100644 --- a/packages/fsm/CHANGELOG.md +++ b/packages/fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.3...@thi.ng/fsm@2.1.4) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/fsm + + + + + ## [2.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.2...@thi.ng/fsm@2.1.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/fsm diff --git a/packages/fsm/package.json b/packages/fsm/package.json index 32f1ee818d..968d0c526f 100644 --- a/packages/fsm/package.json +++ b/packages/fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/fsm", - "version": "2.1.3", + "version": "2.1.4", "description": "Composable primitives for building declarative, transducer based Finite-State machines & parsers for arbitrary data streams", "module": "./index.js", "main": "./lib/index.js", @@ -36,7 +36,7 @@ "@thi.ng/arrays": "^0.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "ES6", diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md index 781884e565..a1c5e084f4 100644 --- a/packages/geom-accel/CHANGELOG.md +++ b/packages/geom-accel/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.5...@thi.ng/geom-accel@1.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-accel + + + + + ## [1.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.4...@thi.ng/geom-accel@1.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-accel diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json index bf9b7b7656..7c4d84053a 100644 --- a/packages/geom-accel/package.json +++ b/packages/geom-accel/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-accel", - "version": "1.1.5", + "version": "1.1.6", "description": "nD spatial indexing data structures", "module": "./index.js", "main": "./lib/index.js", @@ -34,11 +34,11 @@ "dependencies": { "@thi.ng/api": "^5.0.3", "@thi.ng/arrays": "^0.1.1", - "@thi.ng/geom-api": "^0.1.4", + "@thi.ng/geom-api": "^0.1.5", "@thi.ng/heaps": "^1.0.4", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md index e33b0b8ebf..67c3fd5acb 100644 --- a/packages/geom-api/CHANGELOG.md +++ b/packages/geom-api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.4...@thi.ng/geom-api@0.1.5) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-api + + + + + ## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.3...@thi.ng/geom-api@0.1.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-api diff --git a/packages/geom-api/package.json b/packages/geom-api/package.json index 43ff402df4..5f24d1bdbf 100644 --- a/packages/geom-api/package.json +++ b/packages/geom-api/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-api", - "version": "0.1.4", + "version": "0.1.5", "description": "Shared type & interface declarations for @thi.ng/geom packages", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "ES6", diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md index 563f562a7d..a051db4706 100644 --- a/packages/geom-arc/CHANGELOG.md +++ b/packages/geom-arc/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.5...@thi.ng/geom-arc@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-arc + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.4...@thi.ng/geom-arc@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-arc diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json index eaf0cc4889..63c9b2ec88 100644 --- a/packages/geom-arc/package.json +++ b/packages/geom-arc/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-arc", - "version": "0.1.5", + "version": "0.1.6", "description": "2D circular / elliptic arc operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-resample": "^0.1.5", + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-resample": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-clip/CHANGELOG.md b/packages/geom-clip/CHANGELOG.md index 50babf83df..fb146f1d86 100644 --- a/packages/geom-clip/CHANGELOG.md +++ b/packages/geom-clip/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.7...@thi.ng/geom-clip@0.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-clip + + + + + ## [0.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.6...@thi.ng/geom-clip@0.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-clip diff --git a/packages/geom-clip/package.json b/packages/geom-clip/package.json index 8f3799f365..9ad75f37a9 100644 --- a/packages/geom-clip/package.json +++ b/packages/geom-clip/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-clip", - "version": "0.0.7", + "version": "0.0.8", "description": "2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-isec": "^0.1.5", - "@thi.ng/geom-poly-utils": "^0.1.5", + "@thi.ng/geom-isec": "^0.1.6", + "@thi.ng/geom-poly-utils": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md index aecf0f8009..398227c1e0 100644 --- a/packages/geom-closest-point/CHANGELOG.md +++ b/packages/geom-closest-point/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.5...@thi.ng/geom-closest-point@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-closest-point + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.4...@thi.ng/geom-closest-point@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-closest-point diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json index 8ed71afe93..dad2ead5ed 100644 --- a/packages/geom-closest-point/package.json +++ b/packages/geom-closest-point/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-closest-point", - "version": "0.1.5", + "version": "0.1.6", "description": "Closest point / proximity helpers", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "ES6", diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md index 3cb3508ae1..bf3f3fbf04 100644 --- a/packages/geom-hull/CHANGELOG.md +++ b/packages/geom-hull/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.7...@thi.ng/geom-hull@0.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-hull + + + + + ## [0.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.6...@thi.ng/geom-hull@0.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-hull diff --git a/packages/geom-hull/package.json b/packages/geom-hull/package.json index 3e696d64ab..de9758a236 100644 --- a/packages/geom-hull/package.json +++ b/packages/geom-hull/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-hull", - "version": "0.0.7", + "version": "0.0.8", "description": "Fast 2D convex hull (Graham Scan)", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md index d7da44e5bb..64b4515733 100644 --- a/packages/geom-isec/CHANGELOG.md +++ b/packages/geom-isec/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.5...@thi.ng/geom-isec@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-isec + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.4...@thi.ng/geom-isec@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-isec diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json index 324f7accca..81b6c7e45f 100644 --- a/packages/geom-isec/package.json +++ b/packages/geom-isec/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isec", - "version": "0.1.5", + "version": "0.1.6", "description": "2D/3D shape intersection checks", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-closest-point": "^0.1.5", + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-closest-point": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md index ae36606669..b77e45ed5f 100644 --- a/packages/geom-isoline/CHANGELOG.md +++ b/packages/geom-isoline/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.5...@thi.ng/geom-isoline@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-isoline + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.4...@thi.ng/geom-isoline@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-isoline diff --git a/packages/geom-isoline/package.json b/packages/geom-isoline/package.json index dcccbf0938..0815d941a9 100644 --- a/packages/geom-isoline/package.json +++ b/packages/geom-isoline/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isoline", - "version": "0.1.5", + "version": "0.1.6", "description": "Fast 2D contour line extraction / generation", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md index 70e527455f..d43ec5a67a 100644 --- a/packages/geom-poly-utils/CHANGELOG.md +++ b/packages/geom-poly-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.5...@thi.ng/geom-poly-utils@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-poly-utils + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.4...@thi.ng/geom-poly-utils@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-poly-utils diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json index 43790b92b6..b77e504dc2 100644 --- a/packages/geom-poly-utils/package.json +++ b/packages/geom-poly-utils/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-poly-utils", - "version": "0.1.5", + "version": "0.1.6", "description": "Polygon / triangle analysis & processing utilities", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.4", + "@thi.ng/geom-api": "^0.1.5", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md index 8d43fe9900..65b99b0cd4 100644 --- a/packages/geom-resample/CHANGELOG.md +++ b/packages/geom-resample/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.5...@thi.ng/geom-resample@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-resample + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.4...@thi.ng/geom-resample@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-resample diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json index 5bd0822f26..1859f5b341 100644 --- a/packages/geom-resample/package.json +++ b/packages/geom-resample/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-resample", - "version": "0.1.5", + "version": "0.1.6", "description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-closest-point": "^0.1.5", + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-closest-point": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md index cb574783e1..d5b9a2c835 100644 --- a/packages/geom-splines/CHANGELOG.md +++ b/packages/geom-splines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.5...@thi.ng/geom-splines@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-splines + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.4...@thi.ng/geom-splines@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-splines diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json index 617bdeccd8..4afb0e3db0 100644 --- a/packages/geom-splines/package.json +++ b/packages/geom-splines/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-splines", - "version": "0.1.5", + "version": "0.1.6", "description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting", "module": "./index.js", "main": "./lib/index.js", @@ -33,11 +33,11 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-arc": "^0.1.5", - "@thi.ng/geom-resample": "^0.1.5", + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-arc": "^0.1.6", + "@thi.ng/geom-resample": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md index cc21814c39..8c7391f6d5 100644 --- a/packages/geom-subdiv-curve/CHANGELOG.md +++ b/packages/geom-subdiv-curve/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.4...@thi.ng/geom-subdiv-curve@0.1.5) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-subdiv-curve + + + + + ## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.3...@thi.ng/geom-subdiv-curve@0.1.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-subdiv-curve diff --git a/packages/geom-subdiv-curve/package.json b/packages/geom-subdiv-curve/package.json index fa2e1c9a6f..ea2846f6a2 100644 --- a/packages/geom-subdiv-curve/package.json +++ b/packages/geom-subdiv-curve/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-subdiv-curve", - "version": "0.1.4", + "version": "0.1.5", "description": "Freely customizable, iterative subdivision curves for open / closed input geometries", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md index 44c4f6e2ef..bea8f53022 100644 --- a/packages/geom-tessellate/CHANGELOG.md +++ b/packages/geom-tessellate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.5...@thi.ng/geom-tessellate@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-tessellate + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.4...@thi.ng/geom-tessellate@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-tessellate diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json index 43805d56ce..94af0bf15c 100644 --- a/packages/geom-tessellate/package.json +++ b/packages/geom-tessellate/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-tessellate", - "version": "0.1.5", + "version": "0.1.6", "description": "2D/3D polygon tessellators", "module": "./index.js", "main": "./lib/index.js", @@ -33,11 +33,11 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-isec": "^0.1.5", - "@thi.ng/geom-poly-utils": "^0.1.5", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-isec": "^0.1.6", + "@thi.ng/geom-poly-utils": "^0.1.6", + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md index 93dc6cc62f..58659ef84b 100644 --- a/packages/geom-voronoi/CHANGELOG.md +++ b/packages/geom-voronoi/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.5...@thi.ng/geom-voronoi@0.1.6) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom-voronoi + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.4...@thi.ng/geom-voronoi@0.1.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom-voronoi diff --git a/packages/geom-voronoi/package.json b/packages/geom-voronoi/package.json index 6d6467454b..983e540d08 100644 --- a/packages/geom-voronoi/package.json +++ b/packages/geom-voronoi/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-voronoi", - "version": "0.1.5", + "version": "0.1.6", "description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation", "module": "./index.js", "main": "./lib/index.js", @@ -34,12 +34,12 @@ "dependencies": { "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-clip": "^0.0.7", - "@thi.ng/geom-isec": "^0.1.5", - "@thi.ng/geom-poly-utils": "^0.1.5", + "@thi.ng/geom-clip": "^0.0.8", + "@thi.ng/geom-isec": "^0.1.6", + "@thi.ng/geom-poly-utils": "^0.1.6", "@thi.ng/math": "^1.1.1", "@thi.ng/quad-edge": "^0.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md index 6469e57100..2bb4d68a5f 100644 --- a/packages/geom/CHANGELOG.md +++ b/packages/geom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.9...@thi.ng/geom@1.2.10) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/geom + + + + + ## [1.2.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.8...@thi.ng/geom@1.2.9) (2019-03-01) **Note:** Version bump only for package @thi.ng/geom diff --git a/packages/geom/package.json b/packages/geom/package.json index 54ed50c071..a83d6ce4dd 100644 --- a/packages/geom/package.json +++ b/packages/geom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom", - "version": "1.2.9", + "version": "1.2.10", "description": "2D geometry types, polymorphic operations, SVG generation", "module": "./index.js", "main": "./lib/index.js", @@ -39,24 +39,24 @@ "@thi.ng/defmulti": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.4", - "@thi.ng/geom-arc": "^0.1.5", - "@thi.ng/geom-clip": "^0.0.7", - "@thi.ng/geom-closest-point": "^0.1.5", - "@thi.ng/geom-hull": "^0.0.7", - "@thi.ng/geom-isec": "^0.1.5", - "@thi.ng/geom-poly-utils": "^0.1.5", - "@thi.ng/geom-resample": "^0.1.5", - "@thi.ng/geom-splines": "^0.1.5", - "@thi.ng/geom-subdiv-curve": "^0.1.4", - "@thi.ng/geom-tessellate": "^0.1.5", + "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-arc": "^0.1.6", + "@thi.ng/geom-clip": "^0.0.8", + "@thi.ng/geom-closest-point": "^0.1.6", + "@thi.ng/geom-hull": "^0.0.8", + "@thi.ng/geom-isec": "^0.1.6", + "@thi.ng/geom-poly-utils": "^0.1.6", + "@thi.ng/geom-resample": "^0.1.6", + "@thi.ng/geom-splines": "^0.1.6", + "@thi.ng/geom-subdiv-curve": "^0.1.5", + "@thi.ng/geom-tessellate": "^0.1.6", "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/hiccup-svg": "^3.1.9", + "@thi.ng/hiccup-svg": "^3.1.10", "@thi.ng/math": "^1.1.1", - "@thi.ng/matrices": "^0.1.8", + "@thi.ng/matrices": "^0.1.9", "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md index 84ec9ed6eb..c5b5484cd3 100644 --- a/packages/hdom-canvas/CHANGELOG.md +++ b/packages/hdom-canvas/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.2...@thi.ng/hdom-canvas@2.0.3) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/hdom-canvas + + + + + ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.1...@thi.ng/hdom-canvas@2.0.2) (2019-03-01) **Note:** Version bump only for package @thi.ng/hdom-canvas diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json index 67a1d5885a..c4cda4e80c 100644 --- a/packages/hdom-canvas/package.json +++ b/packages/hdom-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-canvas", - "version": "2.0.2", + "version": "2.0.3", "description": "Declarative canvas scenegraph & visualization for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.8", + "@thi.ng/color": "^0.1.9", "@thi.ng/diff": "^3.0.3", "@thi.ng/hdom": "^7.1.2" }, diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md index ddc4f7102b..ec7031380a 100644 --- a/packages/hdom-components/CHANGELOG.md +++ b/packages/hdom-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.7...@thi.ng/hdom-components@3.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/hdom-components + + + + + ## [3.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.6...@thi.ng/hdom-components@3.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/hdom-components diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json index c664fc7644..3044f7cb55 100644 --- a/packages/hdom-components/package.json +++ b/packages/hdom-components/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-components", - "version": "3.0.7", + "version": "3.0.8", "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -35,8 +35,8 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/transducers-stats": "^1.0.7", + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/transducers-stats": "^1.0.8", "@types/webgl2": "^0.0.4" }, "keywords": [ diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md index 3fc95da92b..b83f01e9f6 100644 --- a/packages/hiccup-css/CHANGELOG.md +++ b/packages/hiccup-css/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.7...@thi.ng/hiccup-css@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/hiccup-css + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.6...@thi.ng/hiccup-css@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/hiccup-css diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json index 494450b76d..db6ee1e433 100644 --- a/packages/hiccup-css/package.json +++ b/packages/hiccup-css/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-css", - "version": "1.0.7", + "version": "1.0.8", "description": "CSS from nested JS data structures", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "clojure", diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md index 4914d6f36f..454a3440a3 100644 --- a/packages/hiccup-markdown/CHANGELOG.md +++ b/packages/hiccup-markdown/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.10...@thi.ng/hiccup-markdown@1.0.11) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/hiccup-markdown + + + + + ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.9...@thi.ng/hiccup-markdown@1.0.10) (2019-03-01) **Note:** Version bump only for package @thi.ng/hiccup-markdown diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json index 746c508c6c..6a5a207947 100644 --- a/packages/hiccup-markdown/package.json +++ b/packages/hiccup-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-markdown", - "version": "1.0.10", + "version": "1.0.11", "description": "Markdown serialization of hiccup DOM trees", "module": "./index.js", "main": "./lib/index.js", @@ -36,10 +36,10 @@ "@thi.ng/checks": "^2.1.1", "@thi.ng/defmulti": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/fsm": "^2.1.3", + "@thi.ng/fsm": "^2.1.4", "@thi.ng/hiccup": "^3.1.1", "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "ES6", diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md index 168d352def..a78cc2c5ec 100644 --- a/packages/hiccup-svg/CHANGELOG.md +++ b/packages/hiccup-svg/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.9...@thi.ng/hiccup-svg@3.1.10) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/hiccup-svg + + + + + ## [3.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.8...@thi.ng/hiccup-svg@3.1.9) (2019-03-01) **Note:** Version bump only for package @thi.ng/hiccup-svg diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json index e3aecbde57..c2ae3f0b14 100644 --- a/packages/hiccup-svg/package.json +++ b/packages/hiccup-svg/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-svg", - "version": "3.1.9", + "version": "3.1.10", "description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.8", + "@thi.ng/color": "^0.1.9", "@thi.ng/hiccup": "^3.1.1" }, "keywords": [ diff --git a/packages/iges/CHANGELOG.md b/packages/iges/CHANGELOG.md index 91cf685f37..dbf3b04724 100644 --- a/packages/iges/CHANGELOG.md +++ b/packages/iges/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.7...@thi.ng/iges@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/iges + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.6...@thi.ng/iges@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/iges diff --git a/packages/iges/package.json b/packages/iges/package.json index 75192c2538..58e3c01d8f 100644 --- a/packages/iges/package.json +++ b/packages/iges/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iges", - "version": "1.0.7", + "version": "1.0.8", "description": "IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/defmulti": "^1.0.3", "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "CAD", diff --git a/packages/iterators/CHANGELOG.md b/packages/iterators/CHANGELOG.md index 128c14ccf9..9694fcc28d 100644 --- a/packages/iterators/CHANGELOG.md +++ b/packages/iterators/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.7...@thi.ng/iterators@5.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/iterators + + + + + ## [5.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.6...@thi.ng/iterators@5.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/iterators diff --git a/packages/iterators/package.json b/packages/iterators/package.json index d734c52263..752fbbe9e0 100644 --- a/packages/iterators/package.json +++ b/packages/iterators/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iterators", - "version": "5.0.7", + "version": "5.0.8", "description": "clojure.core inspired, composable ES6 iterators & generators", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/dcons": "^2.0.7", + "@thi.ng/dcons": "^2.0.8", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/lsys/CHANGELOG.md b/packages/lsys/CHANGELOG.md index 7de4f9e211..3be6172a42 100644 --- a/packages/lsys/CHANGELOG.md +++ b/packages/lsys/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.1...@thi.ng/lsys@0.2.2) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/lsys + + + + + ## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.0...@thi.ng/lsys@0.2.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/lsys diff --git a/packages/lsys/package.json b/packages/lsys/package.json index 1b426f581a..3edc5b611c 100644 --- a/packages/lsys/package.json +++ b/packages/lsys/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/lsys", - "version": "0.2.1", + "version": "0.2.2", "description": "TODO", "module": "./index.js", "main": "./lib/index.js", @@ -37,8 +37,8 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "ES6", diff --git a/packages/matrices/CHANGELOG.md b/packages/matrices/CHANGELOG.md index 6365eb5979..9a7c3f6cf2 100644 --- a/packages/matrices/CHANGELOG.md +++ b/packages/matrices/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.8...@thi.ng/matrices@0.1.9) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/matrices + + + + + ## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.7...@thi.ng/matrices@0.1.8) (2019-03-01) **Note:** Version bump only for package @thi.ng/matrices diff --git a/packages/matrices/package.json b/packages/matrices/package.json index a85a36caaa..ead72fdd1a 100644 --- a/packages/matrices/package.json +++ b/packages/matrices/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/matrices", - "version": "0.1.8", + "version": "0.1.9", "description": "Matrix & quaternion operations for 2D/3D geometry processing", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2D", diff --git a/packages/poisson/CHANGELOG.md b/packages/poisson/CHANGELOG.md index 2580d82519..da7f56c791 100644 --- a/packages/poisson/CHANGELOG.md +++ b/packages/poisson/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.4...@thi.ng/poisson@0.2.5) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/poisson + + + + + ## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.3...@thi.ng/poisson@0.2.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/poisson diff --git a/packages/poisson/package.json b/packages/poisson/package.json index 46550123ed..eaea68290d 100644 --- a/packages/poisson/package.json +++ b/packages/poisson/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/poisson", - "version": "0.2.4", + "version": "0.2.5", "description": "nD Poisson-disc sampling w/ support for spatial density functions and custom PRNGs", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.4", + "@thi.ng/geom-api": "^0.1.5", "@thi.ng/random": "^1.1.1", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "2d", diff --git a/packages/range-coder/CHANGELOG.md b/packages/range-coder/CHANGELOG.md index 02282aa7f8..fd0422eb2d 100644 --- a/packages/range-coder/CHANGELOG.md +++ b/packages/range-coder/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.7...@thi.ng/range-coder@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/range-coder + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.6...@thi.ng/range-coder@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/range-coder diff --git a/packages/range-coder/package.json b/packages/range-coder/package.json index 585329429c..e48f84eb11 100644 --- a/packages/range-coder/package.json +++ b/packages/range-coder/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/range-coder", - "version": "1.0.7", + "version": "1.0.8", "description": "Binary data range encoder / decoder", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/transducers": "^5.1.1", + "@thi.ng/transducers": "^5.1.2", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md index f8d7f53865..1ead0aada7 100644 --- a/packages/rstream-csp/CHANGELOG.md +++ b/packages/rstream-csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.7...@thi.ng/rstream-csp@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-csp + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.6...@thi.ng/rstream-csp@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-csp diff --git a/packages/rstream-csp/package.json b/packages/rstream-csp/package.json index 2e6f6471ef..5a34c8bd6f 100644 --- a/packages/rstream-csp/package.json +++ b/packages/rstream-csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-csp", - "version": "1.0.7", + "version": "1.0.8", "description": "@thi.ng/csp bridge module for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/csp": "^1.0.7", - "@thi.ng/rstream": "^2.1.0" + "@thi.ng/csp": "^1.0.8", + "@thi.ng/rstream": "^2.2.0" }, "keywords": [ "bridge", diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md index 0b6ba39eb8..9dd95ae60a 100644 --- a/packages/rstream-dot/CHANGELOG.md +++ b/packages/rstream-dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.7...@thi.ng/rstream-dot@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-dot + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.6...@thi.ng/rstream-dot@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-dot diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json index de5f23c619..fa4833fd3a 100644 --- a/packages/rstream-dot/package.json +++ b/packages/rstream-dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-dot", - "version": "1.0.7", + "version": "1.0.8", "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/rstream": "^2.1.0" + "@thi.ng/rstream": "^2.2.0" }, "keywords": [ "conversion", diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md index 7a70b9d508..b16029dba8 100644 --- a/packages/rstream-gestures/CHANGELOG.md +++ b/packages/rstream-gestures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.7...@thi.ng/rstream-gestures@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-gestures + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.6...@thi.ng/rstream-gestures@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-gestures diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json index 6478a161b5..c2dbd399ec 100644 --- a/packages/rstream-gestures/package.json +++ b/packages/rstream-gestures/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-gestures", - "version": "1.0.7", + "version": "1.0.8", "description": "Unified mouse, mouse wheel & single-touch event stream abstraction", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/rstream": "^2.1.0", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/rstream": "^2.2.0", + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "dataflow", diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md index 8802cdd1aa..39c4d505c6 100644 --- a/packages/rstream-graph/CHANGELOG.md +++ b/packages/rstream-graph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.7...@thi.ng/rstream-graph@3.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-graph + + + + + ## [3.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.6...@thi.ng/rstream-graph@3.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-graph diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json index 3cb515d5af..c31d927959 100644 --- a/packages/rstream-graph/package.json +++ b/packages/rstream-graph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-graph", - "version": "3.0.7", + "version": "3.0.8", "description": "Declarative dataflow graph construction for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -37,8 +37,8 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4", "@thi.ng/resolve-map": "^4.0.4", - "@thi.ng/rstream": "^2.1.0", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/rstream": "^2.2.0", + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "compute", diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md index 0ba8ce542c..31d3c68d4e 100644 --- a/packages/rstream-log/CHANGELOG.md +++ b/packages/rstream-log/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.7...@thi.ng/rstream-log@2.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-log + + + + + ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.6...@thi.ng/rstream-log@2.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-log diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json index 34438dbf5a..ca723a09ac 100644 --- a/packages/rstream-log/package.json +++ b/packages/rstream-log/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-log", - "version": "2.0.7", + "version": "2.0.8", "description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -35,8 +35,8 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.1.0", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/rstream": "^2.2.0", + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "ES6", diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md index 41e07095bb..0594747d91 100644 --- a/packages/rstream-query/CHANGELOG.md +++ b/packages/rstream-query/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.7...@thi.ng/rstream-query@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/rstream-query + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.6...@thi.ng/rstream-query@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/rstream-query diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json index 449e448909..1fac4a4fbd 100644 --- a/packages/rstream-query/package.json +++ b/packages/rstream-query/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-query", - "version": "1.0.7", + "version": "1.0.8", "description": "@thi.ng/rstream based triple store & reactive query engine", "module": "./index.js", "main": "./lib/index.js", @@ -33,13 +33,13 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.7", + "@thi.ng/associative": "^1.0.8", "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.1.0", - "@thi.ng/rstream-dot": "^1.0.7", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/rstream": "^2.2.0", + "@thi.ng/rstream-dot": "^1.0.8", + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "dataflow", diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md index 1e1083c574..6a7ad0803c 100644 --- a/packages/rstream/CHANGELOG.md +++ b/packages/rstream/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.1.0...@thi.ng/rstream@2.2.0) (2019-03-03) + + +### Bug Fixes + +* **rstream:** update MetaStream unsub handling ([b2e6e6f](https://github.com/thi-ng/umbrella/commit/b2e6e6f)) + + +### Features + +* **rstream:** add CloseMode enum, update StreamMerge, StreamSync & opts ([f0d53b4](https://github.com/thi-ng/umbrella/commit/f0d53b4)) +* **rstream:** add tween() stream operator ([c74a2d0](https://github.com/thi-ng/umbrella/commit/c74a2d0)) + + + + + # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.0.6...@thi.ng/rstream@2.1.0) (2019-03-01) diff --git a/packages/rstream/package.json b/packages/rstream/package.json index aeba7b47f3..75212d4862 100644 --- a/packages/rstream/package.json +++ b/packages/rstream/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream", - "version": "2.1.0", + "version": "2.2.0", "description": "Reactive multi-tap streams, dataflow & transformation pipeline constructs", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.7", + "@thi.ng/associative": "^1.0.8", "@thi.ng/atom": "^2.0.4", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "datastructure", diff --git a/packages/sax/CHANGELOG.md b/packages/sax/CHANGELOG.md index 4c9383ba39..b052a1d947 100644 --- a/packages/sax/CHANGELOG.md +++ b/packages/sax/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.7...@thi.ng/sax@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/sax + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.6...@thi.ng/sax@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/sax diff --git a/packages/sax/package.json b/packages/sax/package.json index 0f6ce2280a..2299e685bc 100644 --- a/packages/sax/package.json +++ b/packages/sax/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sax", - "version": "1.0.7", + "version": "1.0.8", "description": "Transducer-based, SAX-like, non-validating, speedy & tiny XML parser", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.1", - "@thi.ng/transducers-fsm": "^1.0.7" + "@thi.ng/transducers": "^5.1.2", + "@thi.ng/transducers-fsm": "^1.0.8" }, "keywords": [ "ES6", diff --git a/packages/sparse/CHANGELOG.md b/packages/sparse/CHANGELOG.md index 104eb6d26f..dc2ef716d0 100644 --- a/packages/sparse/CHANGELOG.md +++ b/packages/sparse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.3...@thi.ng/sparse@0.1.4) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/sparse + + + + + ## [0.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.2...@thi.ng/sparse@0.1.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/sparse diff --git a/packages/sparse/package.json b/packages/sparse/package.json index f0dc91bf74..079dfd8d99 100644 --- a/packages/sparse/package.json +++ b/packages/sparse/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sparse", - "version": "0.1.3", + "version": "0.1.4", "description": "Sparse vector & matrix implementations", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "adjacency", diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md index 200c437601..a4df483b80 100644 --- a/packages/transducers-binary/CHANGELOG.md +++ b/packages/transducers-binary/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.2.2...@thi.ng/transducers-binary@0.2.3) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/transducers-binary + + + + + ## [0.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.2.1...@thi.ng/transducers-binary@0.2.2) (2019-03-01) **Note:** Version bump only for package @thi.ng/transducers-binary diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index 37e7bb59d9..161da3c3da 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-binary", - "version": "0.2.2", + "version": "0.2.3", "description": "Binary data related transducers & reducers", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/compose": "^1.1.2", "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "base64", diff --git a/packages/transducers-fsm/CHANGELOG.md b/packages/transducers-fsm/CHANGELOG.md index 795f96cf71..2e67048ea2 100644 --- a/packages/transducers-fsm/CHANGELOG.md +++ b/packages/transducers-fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.7...@thi.ng/transducers-fsm@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/transducers-fsm + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.6...@thi.ng/transducers-fsm@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/transducers-fsm diff --git a/packages/transducers-fsm/package.json b/packages/transducers-fsm/package.json index d50d3de15b..a45033c6f7 100644 --- a/packages/transducers-fsm/package.json +++ b/packages/transducers-fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-fsm", - "version": "1.0.7", + "version": "1.0.8", "description": "Transducer-based Finite State Machine transformer", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "ES6", diff --git a/packages/transducers-hdom/CHANGELOG.md b/packages/transducers-hdom/CHANGELOG.md index 937f5ee2f1..c211b40469 100644 --- a/packages/transducers-hdom/CHANGELOG.md +++ b/packages/transducers-hdom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.8...@thi.ng/transducers-hdom@2.0.9) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/transducers-hdom + + + + + ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.7...@thi.ng/transducers-hdom@2.0.8) (2019-03-01) **Note:** Version bump only for package @thi.ng/transducers-hdom diff --git a/packages/transducers-hdom/package.json b/packages/transducers-hdom/package.json index a05b7b1c43..1d55536d5e 100644 --- a/packages/transducers-hdom/package.json +++ b/packages/transducers-hdom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-hdom", - "version": "2.0.8", + "version": "2.0.9", "description": "Transducer based UI updater for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/hdom": "^7.1.2", "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "diff", diff --git a/packages/transducers-stats/CHANGELOG.md b/packages/transducers-stats/CHANGELOG.md index 9910ee74f8..e396812ef9 100644 --- a/packages/transducers-stats/CHANGELOG.md +++ b/packages/transducers-stats/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.7...@thi.ng/transducers-stats@1.0.8) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/transducers-stats + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.6...@thi.ng/transducers-stats@1.0.7) (2019-03-01) **Note:** Version bump only for package @thi.ng/transducers-stats diff --git a/packages/transducers-stats/package.json b/packages/transducers-stats/package.json index d6c1aaf4df..7f27ec7672 100644 --- a/packages/transducers-stats/package.json +++ b/packages/transducers-stats/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-stats", - "version": "1.0.7", + "version": "1.0.8", "description": "Transducers for statistical / technical analysis", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.7", + "@thi.ng/dcons": "^2.0.8", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "ES6", diff --git a/packages/transducers/CHANGELOG.md b/packages/transducers/CHANGELOG.md index cfc1da0aad..cfefc25a58 100644 --- a/packages/transducers/CHANGELOG.md +++ b/packages/transducers/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.1.1...@thi.ng/transducers@5.1.2) (2019-03-03) + + +### Bug Fixes + +* **transducers:** update dedupe() w/ predicate arg ([c414423](https://github.com/thi-ng/umbrella/commit/c414423)) + + + + + ## [5.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.1.0...@thi.ng/transducers@5.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/transducers diff --git a/packages/transducers/package.json b/packages/transducers/package.json index d9cce25adb..0e2399020f 100644 --- a/packages/transducers/package.json +++ b/packages/transducers/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers", - "version": "5.1.1", + "version": "5.1.2", "description": "Lightweight transducer implementations for ES6 / TypeScript", "module": "./index.js", "main": "./lib/index.js", diff --git a/packages/vector-pools/CHANGELOG.md b/packages/vector-pools/CHANGELOG.md index fd5c060990..9e04fe002e 100644 --- a/packages/vector-pools/CHANGELOG.md +++ b/packages/vector-pools/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.4...@thi.ng/vector-pools@0.2.5) (2019-03-03) + +**Note:** Version bump only for package @thi.ng/vector-pools + + + + + ## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.3...@thi.ng/vector-pools@0.2.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/vector-pools diff --git a/packages/vector-pools/package.json b/packages/vector-pools/package.json index e5f85187f6..d2ed8674e4 100644 --- a/packages/vector-pools/package.json +++ b/packages/vector-pools/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vector-pools", - "version": "0.2.4", + "version": "0.2.5", "description": "Data structures for managing & working with strided, memory mapped vectors", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/api": "^5.0.3", "@thi.ng/malloc": "^2.0.3", - "@thi.ng/vectors": "^2.3.2" + "@thi.ng/vectors": "^2.4.0" }, "keywords": [ "ES6", diff --git a/packages/vectors/CHANGELOG.md b/packages/vectors/CHANGELOG.md index 690b399faa..ac81d9a0da 100644 --- a/packages/vectors/CHANGELOG.md +++ b/packages/vectors/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.3.2...@thi.ng/vectors@2.4.0) (2019-03-03) + + +### Features + +* **vectors:** add headingSegment*() fns, update readme ([6ab6858](https://github.com/thi-ng/umbrella/commit/6ab6858)) + + + + + ## [2.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.3.1...@thi.ng/vectors@2.3.2) (2019-03-01) **Note:** Version bump only for package @thi.ng/vectors diff --git a/packages/vectors/package.json b/packages/vectors/package.json index ccaf020a04..fbac97d74f 100644 --- a/packages/vectors/package.json +++ b/packages/vectors/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vectors", - "version": "2.3.2", + "version": "2.4.0", "description": "Optimized 2d/3d/4d and arbitrary length vector operations", "module": "./index.js", "main": "./lib/index.js", @@ -39,7 +39,7 @@ "@thi.ng/math": "^1.1.1", "@thi.ng/memoize": "^1.0.3", "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.1" + "@thi.ng/transducers": "^5.1.2" }, "keywords": [ "2D", From a8683e474ab1dc7c98bbff15f48ce01eb2060556 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 4 Mar 2019 03:29:32 +0000 Subject: [PATCH 08/75] docs: update main readme (add blog links) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a6a550a02c..a141d25b48 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ There's a steadily growing number (40+) of standalone examples (different complexities, often combining functionality from several packages) in the [examples](./examples) directory. +## Blog posts + +- [How to UI in 2018](https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3) +- [Of umbrellas, transducers, reactive streams & mushrooms (Part 1)](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) + ## Projects ### Fundamentals From 566cf0221f88722d1f7183912d63eb3b7f427c22 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 4 Mar 2019 15:02:56 +0000 Subject: [PATCH 09/75] fix(color): add/update luminanceRGB/luminanceInt, add to re-exports --- packages/color/src/index.ts | 1 + packages/color/src/luminance-rgb.ts | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/color/src/index.ts b/packages/color/src/index.ts index 413f74e6bb..1749075203 100644 --- a/packages/color/src/index.ts +++ b/packages/color/src/index.ts @@ -45,6 +45,7 @@ export * from "./closest-hue"; export * from "./cosine-gradients"; export * from "./invert"; export * from "./luminance"; +export * from "./luminance-rgb"; export * from "./mix"; export * from "./porter-duff"; export * from "./premultiply"; diff --git a/packages/color/src/luminance-rgb.ts b/packages/color/src/luminance-rgb.ts index 993dd44b83..fb5f0f5232 100644 --- a/packages/color/src/luminance-rgb.ts +++ b/packages/color/src/luminance-rgb.ts @@ -1,5 +1,5 @@ import { dot3 } from "@thi.ng/vectors"; -import { INV8BIT, ReadonlyColor, RGB_LUMINANCE } from "./api"; +import { ReadonlyColor, RGB_LUMINANCE } from "./api"; export const luminanceRGB = (rgb: ReadonlyColor, weights = RGB_LUMINANCE) => dot3(rgb, weights); @@ -7,6 +7,5 @@ export const luminanceRGB = (rgb: ReadonlyColor, weights = RGB_LUMINANCE) => export const luminanceInt = (rgb: number) => (((rgb >>> 16) & 0xff) * 76 + ((rgb >>> 8) & 0xff) * 150 + - (rgb & 0xff) * 29) * - INV8BIT * - INV8BIT; + (rgb & 0xff) * 29) / + 0xfe01; From 97f66801a9b63bc8a1c56c1a2f2d8b1e0b7f8b55 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 4 Mar 2019 15:08:52 +0000 Subject: [PATCH 10/75] Publish - @thi.ng/color@0.1.10 - @thi.ng/geom@1.2.11 - @thi.ng/hdom-canvas@2.0.4 - @thi.ng/hiccup-svg@3.1.11 --- packages/color/CHANGELOG.md | 11 +++++++++++ packages/color/package.json | 2 +- packages/geom/CHANGELOG.md | 8 ++++++++ packages/geom/package.json | 4 ++-- packages/hdom-canvas/CHANGELOG.md | 8 ++++++++ packages/hdom-canvas/package.json | 4 ++-- packages/hiccup-svg/CHANGELOG.md | 8 ++++++++ packages/hiccup-svg/package.json | 4 ++-- 8 files changed, 42 insertions(+), 7 deletions(-) diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md index 4e8bd63853..1f27cfb90b 100644 --- a/packages/color/CHANGELOG.md +++ b/packages/color/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.9...@thi.ng/color@0.1.10) (2019-03-04) + + +### Bug Fixes + +* **color:** add/update luminanceRGB/luminanceInt, add to re-exports ([566cf02](https://github.com/thi-ng/umbrella/commit/566cf02)) + + + + + ## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.8...@thi.ng/color@0.1.9) (2019-03-03) **Note:** Version bump only for package @thi.ng/color diff --git a/packages/color/package.json b/packages/color/package.json index 399b073ed8..efb7c85059 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/color", - "version": "0.1.9", + "version": "0.1.10", "description": "Raw, array-based, color ops, conversions, opt. type wrappers, multi-color gradients", "module": "./index.js", "main": "./lib/index.js", diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md index 2bb4d68a5f..98fbbcfd31 100644 --- a/packages/geom/CHANGELOG.md +++ b/packages/geom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.10...@thi.ng/geom@1.2.11) (2019-03-04) + +**Note:** Version bump only for package @thi.ng/geom + + + + + ## [1.2.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.9...@thi.ng/geom@1.2.10) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom diff --git a/packages/geom/package.json b/packages/geom/package.json index a83d6ce4dd..1060f878c8 100644 --- a/packages/geom/package.json +++ b/packages/geom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom", - "version": "1.2.10", + "version": "1.2.11", "description": "2D geometry types, polymorphic operations, SVG generation", "module": "./index.js", "main": "./lib/index.js", @@ -51,7 +51,7 @@ "@thi.ng/geom-subdiv-curve": "^0.1.5", "@thi.ng/geom-tessellate": "^0.1.6", "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/hiccup-svg": "^3.1.10", + "@thi.ng/hiccup-svg": "^3.1.11", "@thi.ng/math": "^1.1.1", "@thi.ng/matrices": "^0.1.9", "@thi.ng/random": "^1.1.1", diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md index c5b5484cd3..b67ca420b2 100644 --- a/packages/hdom-canvas/CHANGELOG.md +++ b/packages/hdom-canvas/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.3...@thi.ng/hdom-canvas@2.0.4) (2019-03-04) + +**Note:** Version bump only for package @thi.ng/hdom-canvas + + + + + ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.2...@thi.ng/hdom-canvas@2.0.3) (2019-03-03) **Note:** Version bump only for package @thi.ng/hdom-canvas diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json index c4cda4e80c..e2b068bf8a 100644 --- a/packages/hdom-canvas/package.json +++ b/packages/hdom-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-canvas", - "version": "2.0.3", + "version": "2.0.4", "description": "Declarative canvas scenegraph & visualization for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.9", + "@thi.ng/color": "^0.1.10", "@thi.ng/diff": "^3.0.3", "@thi.ng/hdom": "^7.1.2" }, diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md index a78cc2c5ec..8cbadcd4fd 100644 --- a/packages/hiccup-svg/CHANGELOG.md +++ b/packages/hiccup-svg/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.10...@thi.ng/hiccup-svg@3.1.11) (2019-03-04) + +**Note:** Version bump only for package @thi.ng/hiccup-svg + + + + + ## [3.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.9...@thi.ng/hiccup-svg@3.1.10) (2019-03-03) **Note:** Version bump only for package @thi.ng/hiccup-svg diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json index c2ae3f0b14..b7d4cfb87a 100644 --- a/packages/hiccup-svg/package.json +++ b/packages/hiccup-svg/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-svg", - "version": "3.1.10", + "version": "3.1.11", "description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.9", + "@thi.ng/color": "^0.1.10", "@thi.ng/hiccup": "^3.1.1" }, "keywords": [ From 36ca046f939f2bd5146402e2447d6ff01b3e5f81 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 4 Mar 2019 17:39:51 +0000 Subject: [PATCH 11/75] feat(transducers-binary): add randomBits(), update readme --- packages/transducers-binary/README.md | 109 ++++++++++-------- packages/transducers-binary/package.json | 1 + packages/transducers-binary/src/index.ts | 1 + .../transducers-binary/src/random-bits.ts | 17 +++ 4 files changed, 83 insertions(+), 45 deletions(-) create mode 100644 packages/transducers-binary/src/random-bits.ts diff --git a/packages/transducers-binary/README.md b/packages/transducers-binary/README.md index f755a1b471..f0da23a6a0 100644 --- a/packages/transducers-binary/README.md +++ b/packages/transducers-binary/README.md @@ -9,19 +9,20 @@ This project is part of the -- [About](#about) -- [Installation](#installation) -- [Dependencies](#dependencies) -- [Usage examples](#usage-examples) - - [Streaming hexdump](#streaming-hexdump) - - [Structured byte buffer construction](#structured-byte-buffer-construction) - - [Bitstream](#bitstream) - - [Base64 & UTF-8 en/decoding](#base64--utf-8-endecoding) -- [API](#api) - - [Transducers](#transducers) - - [Reducers](#reducers) -- [Authors](#authors) -- [License](#license) +- [About](#about) +- [Installation](#installation) +- [Dependencies](#dependencies) +- [Usage examples](#usage-examples) + - [Random bits](#random-bits) + - [Streaming hexdump](#streaming-hexdump) + - [Structured byte buffer construction](#structured-byte-buffer-construction) + - [Bitstream](#bitstream) + - [Base64 & UTF-8 en/decoding](#base64--utf-8-endecoding) +- [API](#api) + - [Transducers](#transducers) + - [Reducers](#reducers) +- [Authors](#authors) +- [License](#license) @@ -41,8 +42,8 @@ yarn add @thi.ng/transducers-binary ## Dependencies -- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/master/packages/strings) -- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/master/packages/transducers) +- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/master/packages/strings) +- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/master/packages/transducers) ## Usage examples @@ -51,6 +52,24 @@ import * as tx from "@thi.ng/transducers"; import * as txb from "@thi.ng/transducers-binary"; ``` +### Random bits + +```ts +// 10 samples with 50% probability of drawing a 1 +[...txb.randomBits(0.5, 10)] +// [ 1, 0, 1, 1, 0, 1, 0, 1, 1, 0 ] + +// infinite iterator without 2nd arg, so limit with `take()` +[...tx.take(10, txb.randomBits(0.1))] +// [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ] + +import { Smush32 } from "@thi.ng/random"; + +// with seeded PRNG +[...txb.randomBits(0.5, 10, new Smush32(12345678))] +// [ 0, 0, 1, 1, 0, 0, 0, 0, 1, 0 ] +``` + ### Streaming hexdump This is a higher-order transducer, purely composed from other @@ -102,21 +121,21 @@ console.log(tx.str("\n", txb.hexDump({}, bytes))); Decompose / transform a stream of fixed size words into their bits: ```ts -[...txb.bits(8, [0xf0, 0xaa])] +[...txb.bits(8, [0xf0, 0xaa])]; // [ 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0 ] console.log( tx.transduce( tx.comp( txb.bits(8), - tx.map((x) => x ? "#" : "."), + tx.map((x) => (x ? "#" : ".")), tx.partition(8), tx.map((x) => x.join("")) ), tx.str("\n"), - [ 0x00, 0x18, 0x3c, 0x66, 0x66, 0x7e, 0x66, 0x00 ] + [0x00, 0x18, 0x3c, 0x66, 0x66, 0x7e, 0x66, 0x00] ) -) +); // ........ // ...##... // ..####.. @@ -134,8 +153,8 @@ example](https://github.com/thi-ng/umbrella/tree/master/examples/bitmap-font), ```ts // font lookup table const chars = { - a: [ 0x00, 0x18, 0x3c, 0x66, 0x66, 0x7e, 0x66, 0x00 ], - b: [ 0x00, 0x7c, 0x66, 0x7c, 0x66, 0x66, 0x7c, 0x00 ] + a: [0x00, 0x18, 0x3c, 0x66, 0x66, 0x7e, 0x66, 0x00], + b: [0x00, 0x7c, 0x66, 0x7c, 0x66, 0x66, 0x7c, 0x00] }; // re-usable transducer @@ -146,7 +165,7 @@ const xfChar = (i) => tx.comp( tx.pluck(i), txb.bits(8), - tx.map((x) => x ? "#" : "."), + tx.map((x) => (x ? "#" : ".")), tx.partition(8), xfJoin ); @@ -164,10 +183,10 @@ const banner = (src) => // use `str()` reducer to build string result tx.str("\n"), // convert input string into stream of row-major bitmap font tuples - tx.zip(...tx.map(x => chars[x], src)) + tx.zip(...tx.map((x) => chars[x], src)) ); -console.log(banner("abba")) +console.log(banner("abba")); // ................................ // ...##....#####...#####.....##... // ..####...##..##..##..##...####.. @@ -188,23 +207,23 @@ back. // here we first add an offset (0x80) to allow negative values to be encoded // (URL safe results can be produced via opt arg to `base64Encode`) enc = tx.transduce( - tx.comp( - tx.map(x => x + 0x80), - txb.base64Encode() - ), + tx.comp(tx.map((x) => x + 0x80), txb.base64Encode()), tx.str(), tx.range(-8, 8) ); // "eHl6e3x9fn+AgYKDhIWGhw==" // remove offset again during decoding, but (for example) only decode while val < 0 -[...tx.iterator( - tx.comp( - txb.base64Decode(), - tx.map(x => x - 0x80), - tx.takeWhile(x=> x < 0) - ), - enc)] +[ + ...tx.iterator( + tx.comp( + txb.base64Decode(), + tx.map((x) => x - 0x80), + tx.takeWhile((x) => x < 0) + ), + enc + ) +]; // [ -8, -7, -6, -5, -4, -3, -2, -1 ] buf = tx.transduce( @@ -214,7 +233,7 @@ buf = tx.transduce( ); // "YmVlciAo8J+Nuikgb3IgaG90IGJldmVyYWdlICjimJXvuI4p" -tx.transduce(tx.comp(txb.base64Decode(), txb.utf8Decode()), tx.str(), buf) +tx.transduce(tx.comp(txb.base64Decode(), txb.utf8Decode()), tx.str(), buf); // "beer (🍺) or hot beverage (☕️)" ``` @@ -222,21 +241,21 @@ tx.transduce(tx.comp(txb.base64Decode(), txb.utf8Decode()), tx.str(), buf) ### Transducers -- [base64Decode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/base64.ts) -- [base64Encode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/base64.ts) -- [bits](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/bits.ts) -- [hexDump](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/hex-dump.ts) -- [partitionBits](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/partition-bits.ts) -- [utf8Decode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/utf8.ts) -- [utf8Encode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/utf8.ts) +- [base64Decode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/base64.ts) +- [base64Encode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/base64.ts) +- [bits](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/bits.ts) +- [hexDump](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/hex-dump.ts) +- [partitionBits](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/partition-bits.ts) +- [utf8Decode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/utf8.ts) +- [utf8Encode](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/utf8.ts) ### Reducers -- [bytes](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/bytes.ts) +- [bytes](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary/src/bytes.ts) ## Authors -- Karsten Schmidt +- Karsten Schmidt ## License diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index 161da3c3da..6ce710b998 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -33,6 +33,7 @@ }, "dependencies": { "@thi.ng/compose": "^1.1.2", + "@thi.ng/random": "^1.1.1", "@thi.ng/strings": "^1.0.4", "@thi.ng/transducers": "^5.1.2" }, diff --git a/packages/transducers-binary/src/index.ts b/packages/transducers-binary/src/index.ts index cedd671da1..40ec45bd05 100644 --- a/packages/transducers-binary/src/index.ts +++ b/packages/transducers-binary/src/index.ts @@ -4,4 +4,5 @@ export * from "./bytes"; export * from "./bits"; export * from "./hex-dump"; export * from "./partition-bits"; +export * from "./random-bits"; export * from "./utf8"; diff --git a/packages/transducers-binary/src/random-bits.ts b/packages/transducers-binary/src/random-bits.ts new file mode 100644 index 0000000000..7c3d496f75 --- /dev/null +++ b/packages/transducers-binary/src/random-bits.ts @@ -0,0 +1,17 @@ +import { IRandom, SYSTEM } from "@thi.ng/random"; +import { repeatedly } from "@thi.ng/transducers"; + +/** + * Returns an iterator of random bits, with 1's occurring w/ given + * probability `prob` (in the [0,1] interval). If `num` is given, only + * that many bits will be produced. + * + * By default, uses system PRNG, but a custom `IRandom` impl can be + * provided via `rnd` arg. + * + * @param prob + * @param num + * @param rnd + */ +export const randomBits = (prob: number, num?: number, rnd: IRandom = SYSTEM) => + repeatedly(() => (rnd.float() < prob ? 1 : 0), num); From f6b1cd82837dce26c783b0081c5ce9a5ad9528a6 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 4 Mar 2019 17:55:03 +0000 Subject: [PATCH 12/75] Publish - @thi.ng/bencode@0.2.5 - @thi.ng/transducers-binary@0.3.0 --- packages/bencode/CHANGELOG.md | 8 ++++++++ packages/bencode/package.json | 4 ++-- packages/transducers-binary/CHANGELOG.md | 11 +++++++++++ packages/transducers-binary/package.json | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md index 01501cf39e..df0879d0a4 100644 --- a/packages/bencode/CHANGELOG.md +++ b/packages/bencode/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.4...@thi.ng/bencode@0.2.5) (2019-03-04) + +**Note:** Version bump only for package @thi.ng/bencode + + + + + ## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.3...@thi.ng/bencode@0.2.4) (2019-03-03) **Note:** Version bump only for package @thi.ng/bencode diff --git a/packages/bencode/package.json b/packages/bencode/package.json index 1b26ab92aa..d74c589ff6 100644 --- a/packages/bencode/package.json +++ b/packages/bencode/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bencode", - "version": "0.2.4", + "version": "0.2.5", "description": "Bencode binary encoder / decoder with optional UTF8 encoding", "module": "./index.js", "main": "./lib/index.js", @@ -38,7 +38,7 @@ "@thi.ng/defmulti": "^1.0.3", "@thi.ng/errors": "^1.0.3", "@thi.ng/transducers": "^5.1.2", - "@thi.ng/transducers-binary": "^0.2.3" + "@thi.ng/transducers-binary": "^0.3.0" }, "keywords": [ "bencode", diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md index a4df483b80..0c841105a3 100644 --- a/packages/transducers-binary/CHANGELOG.md +++ b/packages/transducers-binary/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.2.3...@thi.ng/transducers-binary@0.3.0) (2019-03-04) + + +### Features + +* **transducers-binary:** add randomBits(), update readme ([36ca046](https://github.com/thi-ng/umbrella/commit/36ca046)) + + + + + ## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.2.2...@thi.ng/transducers-binary@0.2.3) (2019-03-03) **Note:** Version bump only for package @thi.ng/transducers-binary diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index 6ce710b998..3b8708d50c 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-binary", - "version": "0.2.3", + "version": "0.3.0", "description": "Binary data related transducers & reducers", "module": "./index.js", "main": "./lib/index.js", From d79481fe5974fcf87ee349dde6ee67eb07d52611 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 5 Mar 2019 17:21:46 +0000 Subject: [PATCH 13/75] fix(transducers-binary): add randomBits() return type --- packages/transducers-binary/src/random-bits.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/transducers-binary/src/random-bits.ts b/packages/transducers-binary/src/random-bits.ts index 7c3d496f75..a5f4c95033 100644 --- a/packages/transducers-binary/src/random-bits.ts +++ b/packages/transducers-binary/src/random-bits.ts @@ -13,5 +13,9 @@ import { repeatedly } from "@thi.ng/transducers"; * @param num * @param rnd */ -export const randomBits = (prob: number, num?: number, rnd: IRandom = SYSTEM) => +export const randomBits = ( + prob: number, + num?: number, + rnd: IRandom = SYSTEM +): IterableIterator => repeatedly(() => (rnd.float() < prob ? 1 : 0), num); From b5801e92c5e998c84c4d9a7cef6ce03cebfaa9e6 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 5 Mar 2019 17:22:37 +0000 Subject: [PATCH 14/75] fix(rstream): add __owner info for MetaStream, update ISubscriber --- packages/rstream/src/api.ts | 6 +++++- packages/rstream/src/metastream.ts | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/rstream/src/api.ts b/packages/rstream/src/api.ts index 3ec6d2bd5e..c29f660e76 100644 --- a/packages/rstream/src/api.ts +++ b/packages/rstream/src/api.ts @@ -31,7 +31,11 @@ export interface ISubscriber { next: (x: T) => void; error?: (e: any) => void; done?: () => void; - [id: string]: any; + /** + * Internal use only. Do not use. + */ + __owner?: ISubscribable; + // [id: string]: any; } export interface ISubscribable extends IDeref, IID { diff --git a/packages/rstream/src/metastream.ts b/packages/rstream/src/metastream.ts index 34dc51f315..2f24714bc5 100644 --- a/packages/rstream/src/metastream.ts +++ b/packages/rstream/src/metastream.ts @@ -105,7 +105,8 @@ export class MetaStream extends Subscription { this.sub = null; } }, - error: (e) => super.error(e) + error: (e) => super.error(e), + __owner: this }); } } From 85fdc340dc6dfa4b951a4affe976f3bca60d9a98 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 5 Mar 2019 17:23:46 +0000 Subject: [PATCH 15/75] Publish - @thi.ng/bencode@0.2.6 - @thi.ng/rstream-csp@1.0.9 - @thi.ng/rstream-dot@1.0.9 - @thi.ng/rstream-gestures@1.0.9 - @thi.ng/rstream-graph@3.0.9 - @thi.ng/rstream-log@2.0.9 - @thi.ng/rstream-query@1.0.9 - @thi.ng/rstream@2.2.1 - @thi.ng/transducers-binary@0.3.1 --- packages/bencode/CHANGELOG.md | 8 ++++++++ packages/bencode/package.json | 4 ++-- packages/rstream-csp/CHANGELOG.md | 8 ++++++++ packages/rstream-csp/package.json | 4 ++-- packages/rstream-dot/CHANGELOG.md | 8 ++++++++ packages/rstream-dot/package.json | 4 ++-- packages/rstream-gestures/CHANGELOG.md | 8 ++++++++ packages/rstream-gestures/package.json | 4 ++-- packages/rstream-graph/CHANGELOG.md | 8 ++++++++ packages/rstream-graph/package.json | 4 ++-- packages/rstream-log/CHANGELOG.md | 8 ++++++++ packages/rstream-log/package.json | 4 ++-- packages/rstream-query/CHANGELOG.md | 8 ++++++++ packages/rstream-query/package.json | 6 +++--- packages/rstream/CHANGELOG.md | 11 +++++++++++ packages/rstream/package.json | 2 +- packages/transducers-binary/CHANGELOG.md | 11 +++++++++++ packages/transducers-binary/package.json | 2 +- 18 files changed, 95 insertions(+), 17 deletions(-) diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md index df0879d0a4..d348b1c084 100644 --- a/packages/bencode/CHANGELOG.md +++ b/packages/bencode/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.5...@thi.ng/bencode@0.2.6) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/bencode + + + + + ## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.4...@thi.ng/bencode@0.2.5) (2019-03-04) **Note:** Version bump only for package @thi.ng/bencode diff --git a/packages/bencode/package.json b/packages/bencode/package.json index d74c589ff6..51e4003ff6 100644 --- a/packages/bencode/package.json +++ b/packages/bencode/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bencode", - "version": "0.2.5", + "version": "0.2.6", "description": "Bencode binary encoder / decoder with optional UTF8 encoding", "module": "./index.js", "main": "./lib/index.js", @@ -38,7 +38,7 @@ "@thi.ng/defmulti": "^1.0.3", "@thi.ng/errors": "^1.0.3", "@thi.ng/transducers": "^5.1.2", - "@thi.ng/transducers-binary": "^0.3.0" + "@thi.ng/transducers-binary": "^0.3.1" }, "keywords": [ "bencode", diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md index 1ead0aada7..221f901b92 100644 --- a/packages/rstream-csp/CHANGELOG.md +++ b/packages/rstream-csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.8...@thi.ng/rstream-csp@1.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-csp + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.7...@thi.ng/rstream-csp@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-csp diff --git a/packages/rstream-csp/package.json b/packages/rstream-csp/package.json index 5a34c8bd6f..6c6b75632a 100644 --- a/packages/rstream-csp/package.json +++ b/packages/rstream-csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-csp", - "version": "1.0.8", + "version": "1.0.9", "description": "@thi.ng/csp bridge module for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/csp": "^1.0.8", - "@thi.ng/rstream": "^2.2.0" + "@thi.ng/rstream": "^2.2.1" }, "keywords": [ "bridge", diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md index 9dd95ae60a..1b80fcc470 100644 --- a/packages/rstream-dot/CHANGELOG.md +++ b/packages/rstream-dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.8...@thi.ng/rstream-dot@1.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-dot + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.7...@thi.ng/rstream-dot@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-dot diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json index fa4833fd3a..aa761e9cba 100644 --- a/packages/rstream-dot/package.json +++ b/packages/rstream-dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-dot", - "version": "1.0.8", + "version": "1.0.9", "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/rstream": "^2.2.0" + "@thi.ng/rstream": "^2.2.1" }, "keywords": [ "conversion", diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md index b16029dba8..e4123d0f74 100644 --- a/packages/rstream-gestures/CHANGELOG.md +++ b/packages/rstream-gestures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.8...@thi.ng/rstream-gestures@1.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-gestures + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.7...@thi.ng/rstream-gestures@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-gestures diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json index c2dbd399ec..1f2d6e362d 100644 --- a/packages/rstream-gestures/package.json +++ b/packages/rstream-gestures/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-gestures", - "version": "1.0.8", + "version": "1.0.9", "description": "Unified mouse, mouse wheel & single-touch event stream abstraction", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.0.3", - "@thi.ng/rstream": "^2.2.0", + "@thi.ng/rstream": "^2.2.1", "@thi.ng/transducers": "^5.1.2" }, "keywords": [ diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md index 39c4d505c6..59b179e88a 100644 --- a/packages/rstream-graph/CHANGELOG.md +++ b/packages/rstream-graph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.8...@thi.ng/rstream-graph@3.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-graph + + + + + ## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.7...@thi.ng/rstream-graph@3.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-graph diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json index c31d927959..1d0ee7b1b2 100644 --- a/packages/rstream-graph/package.json +++ b/packages/rstream-graph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-graph", - "version": "3.0.8", + "version": "3.0.9", "description": "Declarative dataflow graph construction for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -37,7 +37,7 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4", "@thi.ng/resolve-map": "^4.0.4", - "@thi.ng/rstream": "^2.2.0", + "@thi.ng/rstream": "^2.2.1", "@thi.ng/transducers": "^5.1.2" }, "keywords": [ diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md index 31d3c68d4e..82635fc262 100644 --- a/packages/rstream-log/CHANGELOG.md +++ b/packages/rstream-log/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.8...@thi.ng/rstream-log@2.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-log + + + + + ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.7...@thi.ng/rstream-log@2.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-log diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json index ca723a09ac..e6131c9664 100644 --- a/packages/rstream-log/package.json +++ b/packages/rstream-log/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-log", - "version": "2.0.8", + "version": "2.0.9", "description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/api": "^5.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.0", + "@thi.ng/rstream": "^2.2.1", "@thi.ng/transducers": "^5.1.2" }, "keywords": [ diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md index 0594747d91..df9e2fb60b 100644 --- a/packages/rstream-query/CHANGELOG.md +++ b/packages/rstream-query/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.8...@thi.ng/rstream-query@1.0.9) (2019-03-05) + +**Note:** Version bump only for package @thi.ng/rstream-query + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.7...@thi.ng/rstream-query@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/rstream-query diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json index 1fac4a4fbd..20ecec8ef8 100644 --- a/packages/rstream-query/package.json +++ b/packages/rstream-query/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-query", - "version": "1.0.8", + "version": "1.0.9", "description": "@thi.ng/rstream based triple store & reactive query engine", "module": "./index.js", "main": "./lib/index.js", @@ -37,8 +37,8 @@ "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.0", - "@thi.ng/rstream-dot": "^1.0.8", + "@thi.ng/rstream": "^2.2.1", + "@thi.ng/rstream-dot": "^1.0.9", "@thi.ng/transducers": "^5.1.2" }, "keywords": [ diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md index 6a7ad0803c..edbdbcd260 100644 --- a/packages/rstream/CHANGELOG.md +++ b/packages/rstream/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.0...@thi.ng/rstream@2.2.1) (2019-03-05) + + +### Bug Fixes + +* **rstream:** add __owner info for MetaStream, update ISubscriber ([b5801e9](https://github.com/thi-ng/umbrella/commit/b5801e9)) + + + + + # [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.1.0...@thi.ng/rstream@2.2.0) (2019-03-03) diff --git a/packages/rstream/package.json b/packages/rstream/package.json index 75212d4862..0364a2d5ca 100644 --- a/packages/rstream/package.json +++ b/packages/rstream/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream", - "version": "2.2.0", + "version": "2.2.1", "description": "Reactive multi-tap streams, dataflow & transformation pipeline constructs", "module": "./index.js", "main": "./lib/index.js", diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md index 0c841105a3..0f4e38e91e 100644 --- a/packages/transducers-binary/CHANGELOG.md +++ b/packages/transducers-binary/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.0...@thi.ng/transducers-binary@0.3.1) (2019-03-05) + + +### Bug Fixes + +* **transducers-binary:** add randomBits() return type ([d79481f](https://github.com/thi-ng/umbrella/commit/d79481f)) + + + + + # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.2.3...@thi.ng/transducers-binary@0.3.0) (2019-03-04) diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index 3b8708d50c..c52573ca12 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-binary", - "version": "0.3.0", + "version": "0.3.1", "description": "Binary data related transducers & reducers", "module": "./index.js", "main": "./lib/index.js", From 8186f12e6e3e43aa4b54d8b7962a99080d375406 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 7 Mar 2019 03:32:49 +0000 Subject: [PATCH 16/75] fix(geom-accel): fix/update existing point search in add()/select*() --- packages/geom-accel/src/kdtree.ts | 42 ++++++++++++++++--------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/packages/geom-accel/src/kdtree.ts b/packages/geom-accel/src/kdtree.ts index 094f0d10ab..7ef1b7fcaa 100644 --- a/packages/geom-accel/src/kdtree.ts +++ b/packages/geom-accel/src/kdtree.ts @@ -94,17 +94,17 @@ export class KdTree const search = ( node: KdNode, parent: KdNode - ): KdNode | false => + ): KdNode => node - ? distSq(p, node.k) > eps - ? search(p[node.d] < node.k[node.d] ? node.l : node.r, node) - : false + ? search(p[node.d] < node.k[node.d] ? node.l : node.r, node) : parent; - const parent = search(this.root, null); - if (parent === false) return false; - if (parent == null) { - this.root = new KdNode(null, 0, p, v); - } else { + let parent: KdNode; + if (this.root) { + parent = nearest1(p, [eps * eps, null], [], this.dim, this.root)[1]; + if (parent) { + return false; + } + parent = search(this.root, null); const dim = parent.d; parent[p[dim] < parent.k[dim] ? "l" : "r"] = new KdNode( parent, @@ -112,6 +112,8 @@ export class KdTree p, v ); + } else { + this.root = new KdNode(null, 0, p, v); } this._length++; return true; @@ -160,7 +162,7 @@ export class KdTree if (maxNum === 1) { const sel = nearest1( q, - [maxDist != null ? maxDist : Infinity, null], + [maxDist != null ? maxDist * maxDist : Infinity, null], [], this.dim, this.root @@ -182,7 +184,7 @@ export class KdTree if (maxNum === 1) { const sel = nearest1( q, - [maxDist != null ? maxDist : Infinity, null], + [maxDist != null ? maxDist * maxDist : Infinity, null], [], this.dim, this.root @@ -204,7 +206,7 @@ export class KdTree if (maxNum === 1) { const sel = nearest1( q, - [maxDist != null ? maxDist : Infinity, null], + [maxDist != null ? maxDist * maxDist : Infinity, null], [], this.dim, this.root @@ -363,10 +365,10 @@ const nearest = ( let best = !node.r ? node.l : !node.l - ? node.r - : q[ndim] < p[ndim] - ? node.l - : node.r; + ? node.r + : q[ndim] < p[ndim] + ? node.l + : node.r; nearest(q, acc, tmp, dims, maxNum, best); if (!acc.length || ndist < acc.peek()[0]) { if (acc.length >= maxNum) { @@ -413,10 +415,10 @@ const nearest1 = ( let best = !node.r ? node.l : !node.l - ? node.r - : q[ndim] < p[ndim] - ? node.l - : node.r; + ? node.r + : q[ndim] < p[ndim] + ? node.l + : node.r; nearest1(q, acc, tmp, dims, best); if (ndist < acc[0]) { acc[0] = ndist; From 33c7dfee424e25bdea36551a3b381467353dc5ae Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 7 Mar 2019 03:39:58 +0000 Subject: [PATCH 17/75] feat(api): add additional Fn arities --- packages/api/src/api.ts | 85 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/packages/api/src/api.ts b/packages/api/src/api.ts index 4de4c170cd..3b661d3f3f 100644 --- a/packages/api/src/api.ts +++ b/packages/api/src/api.ts @@ -16,6 +16,11 @@ export const SEMAPHORE = Symbol(); */ export type Comparator = (a: T, b: T) => number; +/** + * A no-arg function, returning T. + */ +export type Fn0 = () => T; + /** * A single arg function from A => B. */ @@ -31,6 +36,86 @@ export type Fn2 = (a: A, b: B) => C; */ export type Fn3 = (a: A, b: B, c: C) => D; +/** + * A 4-arg function from A,B,C,D => E. + */ +export type Fn4 = (a: A, b: B, c: C, d: D) => E; + +/** + * A 5-arg function from A,B,C,D,E => F. + */ +export type Fn5 = (a: A, b: B, c: C, d: D, e: E) => F; + +/** + * A 6-arg function from A,B,C,D,E,F => G. + */ +export type Fn6 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F +) => G; + +/** + * A 7-arg function from A,B,C,D,E,F,G => H. + */ +export type Fn7 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G +) => H; + +/** + * A 8-arg function from A,B,C,D,E,F,G,H => I. + */ +export type Fn8 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H +) => I; + +/** + * A 9-arg function from A,B,C,D,E,F,G,H,I => J. + */ +export type Fn9 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H, + i: I +) => J; + +/** + * A 10-arg function from A,B,C,D,E,F,G,H,I,J => K. + */ +export type Fn10 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H, + i: I, + j: J +) => K; + /** * A vararg arg function to type T. */ From 5a5a2d147873eac562e80abb5b28212e1756ca7c Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 7 Mar 2019 03:40:53 +0000 Subject: [PATCH 18/75] feat(compose): add complement() --- packages/compose/src/complement.ts | 37 ++++++++++++++++++++++++++++++ packages/compose/src/index.ts | 1 + 2 files changed, 38 insertions(+) create mode 100644 packages/compose/src/complement.ts diff --git a/packages/compose/src/complement.ts b/packages/compose/src/complement.ts new file mode 100644 index 0000000000..fc46e935da --- /dev/null +++ b/packages/compose/src/complement.ts @@ -0,0 +1,37 @@ +import { + Fn, + Fn0, + Fn2, + Fn3, + Fn4, + Fn5, + Fn6, + Fn7, + Fn8, + FnAny +} from "@thi.ng/api"; + +export function complement(f: Fn0): Fn0; +export function complement(f: Fn): Fn; +export function complement(f: Fn2): Fn2; +export function complement( + f: Fn3 +): Fn3; +export function complement( + f: Fn4 +): Fn4; +export function complement( + f: Fn5 +): Fn5; +export function complement( + f: Fn6 +): Fn6; +export function complement( + f: Fn7 +): Fn7; +export function complement( + f: Fn8 +): Fn8; +export function complement(f: FnAny) { + return (...xs) => !f(...xs); +} diff --git a/packages/compose/src/index.ts b/packages/compose/src/index.ts index f9c76d4c74..593210c3e3 100644 --- a/packages/compose/src/index.ts +++ b/packages/compose/src/index.ts @@ -1,4 +1,5 @@ export * from "./comp"; +export * from "./complement"; export * from "./constantly"; export * from "./delay"; export * from "./delayed"; From e952cb04a651fb0f930322bd793ff2ae71e3472e Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 7 Mar 2019 21:49:58 +0000 Subject: [PATCH 19/75] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a141d25b48..f37c76e490 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,8 @@ packages) in the [examples](./examples) directory. ## Blog posts - [How to UI in 2018](https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3) -- [Of umbrellas, transducers, reactive streams & mushrooms (Part 1)](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) +- [Of umbrellas, transducers, reactive streams & mushrooms (Part 1) - Overview](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) +- [Of umbrellas, transducers, reactive streams & mushrooms (Part 2) - Transducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) ## Projects From e453ac320d5b83377b30954d8def043849eaa754 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 7 Mar 2019 23:56:26 +0000 Subject: [PATCH 20/75] refactor: update Fn args in various packages --- packages/api/src/api.ts | 4 ++-- packages/api/src/mixins/iwatch.ts | 7 ++----- packages/api/test/mixins.ts | 21 ++++++++++++--------- packages/associative/src/array-set.ts | 9 +++++++-- packages/associative/src/equiv-map.ts | 3 ++- packages/associative/src/ll-set.ts | 9 +++++++-- packages/associative/src/merge-with.ts | 6 +++--- packages/associative/src/sorted-map.ts | 3 ++- packages/associative/src/sorted-set.ts | 4 ++-- packages/atom/src/cursor.ts | 14 ++++++++++---- packages/atom/src/history.ts | 5 +++-- packages/cache/src/api.ts | 13 ++++++++----- packages/cache/src/lru.ts | 3 ++- packages/cache/src/tlru.ts | 7 ++----- packages/color/src/porter-duff.ts | 11 ++++++----- packages/compose/src/delay.ts | 8 ++++---- packages/csp/src/api.ts | 13 +++++++++---- packages/csp/src/channel.ts | 12 +++++------- packages/dcons/src/index.ts | 11 ++++++----- packages/dsp/package.json | 1 + packages/dsp/src/osc.ts | 17 ++++++++++++----- packages/fsm/src/fsm.ts | 12 ++++++------ packages/geom-isec/package.json | 1 + packages/geom-isec/src/ray-rect.ts | 18 ++++++++++-------- packages/hdom-canvas/src/index.ts | 21 +++++++++++++-------- packages/hdom-components/src/canvas.ts | 15 +++++---------- packages/hdom-components/src/pager.ts | 12 ++++++------ packages/iges/src/api.ts | 6 ++++-- packages/interceptors/src/interceptors.ts | 18 ++++++++++++------ packages/iterators/src/flatten-with.ts | 3 ++- packages/iterators/src/fnil.ts | 3 ++- packages/iterators/src/frequencies.ts | 3 ++- packages/iterators/src/group-by.ts | 5 +++-- packages/iterators/src/iterate.ts | 4 +++- packages/iterators/src/juxt.ts | 8 +++++++- packages/iterators/src/partition-by.ts | 3 ++- packages/iterators/src/reduce.ts | 3 ++- packages/iterators/src/reductions.ts | 3 ++- packages/iterators/src/repeatedly.ts | 4 +++- packages/iterators/src/run.ts | 3 ++- 40 files changed, 194 insertions(+), 132 deletions(-) diff --git a/packages/api/src/api.ts b/packages/api/src/api.ts index 3b661d3f3f..a38775bc15 100644 --- a/packages/api/src/api.ts +++ b/packages/api/src/api.ts @@ -182,8 +182,8 @@ export type Watch = (id: string, oldState: T, newState: T) => void; export interface IAssociative { assoc(key: K, val: V): T; assocIn(key: K[], val: V): T; - update(key: K, f: (v: V) => V): T; - updateIn(key: K[], f: (v: V) => V): T; + update(key: K, f: Fn): T; + updateIn(key: K[], f: Fn): T; } /** diff --git a/packages/api/src/mixins/iwatch.ts b/packages/api/src/mixins/iwatch.ts index 672775b0d4..26b351e13c 100644 --- a/packages/api/src/mixins/iwatch.ts +++ b/packages/api/src/mixins/iwatch.ts @@ -1,11 +1,8 @@ -import { IWatch } from "../api"; +import { Fn3, IWatch } from "../api"; import { mixin } from "../mixin"; export const IWatchMixin = mixin(>{ - addWatch( - id: string, - fn: (id: string, oldState: any, newState: any) => void - ) { + addWatch(id: string, fn: Fn3) { this._watches = this._watches || {}; if (this._watches[id]) { return false; diff --git a/packages/api/test/mixins.ts b/packages/api/test/mixins.ts index 70e4798de2..27c1e8fc3c 100644 --- a/packages/api/test/mixins.ts +++ b/packages/api/test/mixins.ts @@ -1,18 +1,21 @@ import * as assert from "assert"; - -import { Event, INotify, EVENT_ALL } from "../src/api"; +import { + Event, + EVENT_ALL, + INotify, + Listener +} from "../src/api"; import { INotifyMixin } from "../src/mixins/inotify"; -describe("mixins", () => { +describe("mixins", () => { it("INotify", () => { - @INotifyMixin class Foo implements INotify { - addListener(_: string, __: (e: Event) => void, ___?: any): boolean { + addListener(_: string, __: Listener, ___?: any): boolean { throw new Error(); } - removeListener(_: string, __: (e: Event) => void, ___?: any): boolean { + removeListener(_: string, __: Listener, ___?: any): boolean { throw new Error(); } notify(_: Event) { @@ -22,8 +25,8 @@ describe("mixins", () => { const res: any = {}; const foo = new Foo(); - const l = (e) => res[e.id] = e.value; - const lall = (e) => res[EVENT_ALL] = e.value; + const l = (e) => (res[e.id] = e.value); + const lall = (e) => (res[EVENT_ALL] = e.value); assert.doesNotThrow(() => foo.addListener("x", l)); assert.doesNotThrow(() => foo.addListener(EVENT_ALL, lall)); foo.notify({ id: "x", value: 1 }); @@ -35,4 +38,4 @@ describe("mixins", () => { foo.notify({ id: "x", value: 3 }); assert.deepEqual(res, { x: 1, [EVENT_ALL]: 2 }); }); -}); \ No newline at end of file +}); diff --git a/packages/associative/src/array-set.ts b/packages/associative/src/array-set.ts index 333f60f0e3..1ba446cff1 100644 --- a/packages/associative/src/array-set.ts +++ b/packages/associative/src/array-set.ts @@ -1,4 +1,9 @@ -import { Pair, Predicate2, SEMAPHORE } from "@thi.ng/api"; +import { + Fn3, + Pair, + Predicate2, + SEMAPHORE +} from "@thi.ng/api"; import { equiv } from "@thi.ng/equiv"; import { EquivSetOpts, IEquivSet } from "./api"; @@ -131,7 +136,7 @@ export class ArraySet extends Set implements IEquivSet { return true; } - forEach(fn: (val: T, val2: T, set: Set) => void, thisArg?: any) { + forEach(fn: Fn3, void>, thisArg?: any) { const vals = __private.get(this).vals; for (let i = vals.length - 1; i >= 0; i--) { const v = vals[i]; diff --git a/packages/associative/src/equiv-map.ts b/packages/associative/src/equiv-map.ts index 9594417779..b30b7cf184 100644 --- a/packages/associative/src/equiv-map.ts +++ b/packages/associative/src/equiv-map.ts @@ -1,4 +1,5 @@ import { + Fn3, ICopy, IEmpty, IEquiv, @@ -134,7 +135,7 @@ export class EquivMap extends Map return this; } - forEach(fn: (val: V, key: K, map: Map) => void, thisArg?: any) { + forEach(fn: Fn3, void>, thisArg?: any) { for (let pair of __private.get(this).map) { fn.call(thisArg, pair[1], pair[0], this); } diff --git a/packages/associative/src/ll-set.ts b/packages/associative/src/ll-set.ts index 6b329a92b9..172ef5ec1b 100644 --- a/packages/associative/src/ll-set.ts +++ b/packages/associative/src/ll-set.ts @@ -1,4 +1,9 @@ -import { Pair, Predicate2, SEMAPHORE } from "@thi.ng/api"; +import { + Fn3, + Pair, + Predicate2, + SEMAPHORE +} from "@thi.ng/api"; import { DCons } from "@thi.ng/dcons"; import { equiv } from "@thi.ng/equiv"; import { EquivSetOpts, IEquivSet } from "./api"; @@ -139,7 +144,7 @@ export class LLSet extends Set implements IEquivSet { return true; } - forEach(fn: (val: T, val2: T, set: Set) => void, thisArg?: any) { + forEach(fn: Fn3, void>, thisArg?: any) { let i = __private.get(this).vals.head; while (i) { fn.call(thisArg, i.value, i.value, this); diff --git a/packages/associative/src/merge-with.ts b/packages/associative/src/merge-with.ts index 352da4393a..85e67c341a 100644 --- a/packages/associative/src/merge-with.ts +++ b/packages/associative/src/merge-with.ts @@ -1,8 +1,8 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn2, IObjectOf } from "@thi.ng/api"; import { copy } from "./utils"; export const mergeMapWith = ( - f: (a: V, b: V) => V, + f: Fn2, dest: Map, ...xs: Map[] ) => { @@ -20,7 +20,7 @@ export const mergeMapWith = ( }; export const mergeObjWith = ( - f: (a: T, b: T) => T, + f: Fn2, dest: IObjectOf, ...xs: IObjectOf[] ) => { diff --git a/packages/associative/src/sorted-map.ts b/packages/associative/src/sorted-map.ts index b99155bd7e..f0237e2fee 100644 --- a/packages/associative/src/sorted-map.ts +++ b/packages/associative/src/sorted-map.ts @@ -1,5 +1,6 @@ import { Comparator, + Fn3, ICompare, ICopy, IEmpty, @@ -179,7 +180,7 @@ export class SortedMap extends Map } } - forEach(fn: (val: V, key: K, map: Map) => void, thisArg?: any) { + forEach(fn: Fn3, void>, thisArg?: any) { for (let p of this) { fn.call(thisArg, p[1], p[0], this); } diff --git a/packages/associative/src/sorted-set.ts b/packages/associative/src/sorted-set.ts index 30ef7e30f3..5fff2a3e4c 100644 --- a/packages/associative/src/sorted-set.ts +++ b/packages/associative/src/sorted-set.ts @@ -1,4 +1,4 @@ -import { ICompare, Pair } from "@thi.ng/api"; +import { Fn3, ICompare, Pair } from "@thi.ng/api"; import { compare } from "@thi.ng/compare"; import { IReducible, map, ReductionFn } from "@thi.ng/transducers"; import { IEquivSet, SortedSetOpts } from "./api"; @@ -148,7 +148,7 @@ export class SortedSet extends Set return this; } - forEach(fn: (val: T, val2: T, set: Set) => void, thisArg?: any): void { + forEach(fn: Fn3, void>, thisArg?: any): void { for (let p of this) { fn.call(thisArg, p[0], p[0], this); } diff --git a/packages/atom/src/cursor.ts b/packages/atom/src/cursor.ts index 8e349bce97..17996f1d15 100644 --- a/packages/atom/src/cursor.ts +++ b/packages/atom/src/cursor.ts @@ -1,4 +1,10 @@ -import { IID, IRelease, Watch } from "@thi.ng/api"; +import { + Fn, + Fn2, + IID, + IRelease, + Watch +} from "@thi.ng/api"; import { isArray, isFunction } from "@thi.ng/checks"; import { illegalArgs, illegalArity } from "@thi.ng/errors"; import { getter, Path, setter } from "@thi.ng/paths"; @@ -43,15 +49,15 @@ export class Cursor implements IAtom, IID, IRelease { parent: IAtom; protected local: Atom; - protected lookup: (s: any) => T; + protected lookup: Fn; protected selfUpdate: boolean; constructor(opts: CursorOpts); constructor(parent: IAtom, path: Path); constructor( parent: IAtom, - lookup: (s: any) => T, - update: (s: any, v: T) => any + lookup: Fn, + update: Fn2 ); constructor(...args: any[]) { let parent, id, lookup, update, validate, opts: CursorOpts; diff --git a/packages/atom/src/history.ts b/packages/atom/src/history.ts index c3718590ed..7d60296d13 100644 --- a/packages/atom/src/history.ts +++ b/packages/atom/src/history.ts @@ -1,6 +1,7 @@ import { Event, INotifyMixin, + Listener, Predicate2, Watch } from "@thi.ng/api"; @@ -256,11 +257,11 @@ export class History implements IHistory { return true; } - addListener(_: string, __: (e: Event) => void, ___?: any): boolean { + addListener(_: string, __: Listener, ___?: any): boolean { return false; } - removeListener(_: string, __: (e: Event) => void, ___?: any): boolean { + removeListener(_: string, __: Listener, ___?: any): boolean { return false; } diff --git a/packages/cache/src/api.ts b/packages/cache/src/api.ts index 0fb31166a9..c353d8a788 100644 --- a/packages/cache/src/api.ts +++ b/packages/cache/src/api.ts @@ -1,4 +1,7 @@ import { + Fn, + Fn0, + Fn2, ICopy, IEmpty, ILength, @@ -16,7 +19,7 @@ export interface ICache has(key: K): boolean; get(key: K, notFound?: V): V; set(key: K, val: V): V; - getSet(key: K, fn: () => Promise): Promise; + getSet(key: K, fn: Fn0>): Promise; delete(key: K): boolean; entries(): IterableIterator]>>; @@ -25,10 +28,10 @@ export interface ICache } export interface CacheOpts { - ksize: (k: K) => number; - vsize: (v: V) => number; - release: (k: K, v: V) => void; - map: () => Map; + ksize: Fn; + vsize: Fn; + release: Fn2; + map: Fn0>; maxlen: number; maxsize: number; } diff --git a/packages/cache/src/lru.ts b/packages/cache/src/lru.ts index 1e945c7968..2dbfe5adde 100644 --- a/packages/cache/src/lru.ts +++ b/packages/cache/src/lru.ts @@ -1,3 +1,4 @@ +import { Fn0 } from "@thi.ng/api"; import { ConsCell, DCons } from "@thi.ng/dcons"; import { map } from "@thi.ng/transducers"; import { CacheEntry, CacheOpts, ICache } from "./api"; @@ -124,7 +125,7 @@ export class LRUCache implements ICache { return this; } - getSet(key: K, retrieve: () => Promise): Promise { + getSet(key: K, retrieve: Fn0>): Promise { const e = this.map.get(key); if (e) { return Promise.resolve(this.resetEntry(e)); diff --git a/packages/cache/src/tlru.ts b/packages/cache/src/tlru.ts index 0f67b522e0..c13b0c0466 100644 --- a/packages/cache/src/tlru.ts +++ b/packages/cache/src/tlru.ts @@ -1,3 +1,4 @@ +import { Fn0 } from "@thi.ng/api"; import { ConsCell, DCons } from "@thi.ng/dcons"; import { CacheEntry, CacheOpts } from "./api"; import { LRUCache } from "./lru"; @@ -76,11 +77,7 @@ export class TLRUCache extends LRUCache { return value; } - getSet( - key: K, - retrieve: () => Promise, - ttl = this.opts.ttl - ): Promise { + getSet(key: K, retrieve: Fn0>, ttl = this.opts.ttl): Promise { const e = this.get(key); if (e) { return Promise.resolve(e); diff --git a/packages/color/src/porter-duff.ts b/packages/color/src/porter-duff.ts index 08f376e230..114d7b6170 100644 --- a/packages/color/src/porter-duff.ts +++ b/packages/color/src/porter-duff.ts @@ -1,3 +1,4 @@ +import { Fn2, Fn3 } from "@thi.ng/api"; import { setC4, setN4 } from "@thi.ng/vectors"; import { Color, ReadonlyColor } from "./api"; import { postmultiply, premultiply } from "./premultiply"; @@ -24,7 +25,7 @@ import { postmultiply, premultiply } from "./premultiply"; * @param z factor of "dest" region */ export const porterDuff = ( - f: (s: number, d: number) => number, + f: Fn2, x: 0 | 1, y: 0 | 1, z: 0 | 1 @@ -36,9 +37,9 @@ export const porterDuff = ( : (s: number, d: number, sda: number, sy: number) => f(s, d) * sda + s * sy : z - ? (s: number, d: number, sda: number, _, sz: number) => - f(s, d) * sda + d * sz - : (s: number, d: number, sda: number) => f(s, d) * sda; + ? (s: number, d: number, sda: number, _, sz: number) => + f(s, d) * sda + d * sz + : (s: number, d: number, sda: number) => f(s, d) * sda; return (out: Color, src: ReadonlyColor, dest: ReadonlyColor) => { const sa = src[3]; const da = dest[3]; @@ -68,7 +69,7 @@ export const porterDuffP = ( out: Color, src: ReadonlyColor, dest: ReadonlyColor, - mode: (out: Color, src: ReadonlyColor, dest: ReadonlyColor) => Color + mode: Fn3 ) => postmultiply( null, diff --git a/packages/compose/src/delay.ts b/packages/compose/src/delay.ts index a1b470ef1f..2483936400 100644 --- a/packages/compose/src/delay.ts +++ b/packages/compose/src/delay.ts @@ -1,13 +1,13 @@ -import { IDeref } from "@thi.ng/api"; +import { Fn0, IDeref } from "@thi.ng/api"; -export const delay = (body: () => T) => new Delay(body); +export const delay = (body: Fn0) => new Delay(body); export class Delay implements IDeref { value: T; - protected body: () => T; + protected body: Fn0; protected realized: boolean; - constructor(body: () => T) { + constructor(body: Fn0) { this.body = body; this.realized = false; } diff --git a/packages/csp/src/api.ts b/packages/csp/src/api.ts index b6a0101857..5a9533415c 100644 --- a/packages/csp/src/api.ts +++ b/packages/csp/src/api.ts @@ -1,4 +1,9 @@ -import { IID, ILength, IRelease } from "@thi.ng/api"; +import { + Fn, + IID, + ILength, + IRelease +} from "@thi.ng/api"; import { Channel } from "./channel"; export const enum State { @@ -13,8 +18,8 @@ export const enum State { // export const __State = (exports).State; export interface ChannelItem { - value: () => Promise; - resolve: (success: boolean) => void; + value(): Promise; + resolve(success: boolean): void; } export interface IBuffer extends ILength, IRelease { @@ -41,6 +46,6 @@ export interface IReadWriteableChannel extends IReadableChannel, IWriteableChannel {} -export type TopicFn = (x: T) => string; +export type TopicFn = Fn; export type ErrorHandler = (e: Error, chan: Channel, val?: any) => void; diff --git a/packages/csp/src/channel.ts b/packages/csp/src/channel.ts index efb20be895..28bd441d0b 100644 --- a/packages/csp/src/channel.ts +++ b/packages/csp/src/channel.ts @@ -1,4 +1,4 @@ -import { Predicate } from "@thi.ng/api"; +import { Fn, Fn0, Predicate } from "@thi.ng/api"; import { shuffle } from "@thi.ng/arrays"; import { isFunction } from "@thi.ng/checks"; import { DCons } from "@thi.ng/dcons"; @@ -28,7 +28,7 @@ export class Channel implements IReadWriteableChannel { return chan; } - static repeatedly(fn: () => T, delay?: number) { + static repeatedly(fn: Fn0, delay?: number) { const chan = new Channel(delay ? delayed(delay) : null); chan.produce(fn); return chan; @@ -417,7 +417,7 @@ export class Channel implements IReadWriteableChannel { ); } - consume(fn: (x: T) => any = (x: T) => console.log(this.id, ":", x)) { + consume(fn: Fn = (x) => console.log(this.id, ":", x)) { return (async () => { let x; while (((x = null), (x = await this.read())) !== undefined) { @@ -427,7 +427,7 @@ export class Channel implements IReadWriteableChannel { })(); } - produce(fn: () => T, close = true) { + produce(fn: Fn0, close = true) { return (async () => { while (!this.isClosed()) { const val = await fn(); @@ -440,9 +440,7 @@ export class Channel implements IReadWriteableChannel { })(); } - consumeWhileReadable( - fn: (x: T) => any = (x: T) => console.log(this.id, ":", x) - ) { + consumeWhileReadable(fn: Fn = (x) => console.log(this.id, ":", x)) { return (async () => { let x; while (this.isReadable()) { diff --git a/packages/dcons/src/index.ts b/packages/dcons/src/index.ts index 88504c67fd..b22dc28502 100644 --- a/packages/dcons/src/index.ts +++ b/packages/dcons/src/index.ts @@ -1,5 +1,6 @@ import { Comparator, + Fn, ICompare, ICopy, IEmpty, @@ -437,7 +438,7 @@ export class DCons } } - map(fn: (x: T) => R) { + map(fn: Fn) { const res = new DCons(); let cell = this.head; while (cell) { @@ -457,12 +458,12 @@ export class DCons return res; } - reduce(rfn: (acc: R, x: T) => R, initial: R) { + reduce(rfn: ReductionFn, initial: R) { let acc: R = initial; let cell = this.head; while (cell) { // TODO add early termination support - acc = rfn(acc, cell.value); + acc = rfn(acc, cell.value); cell = cell.next; } return acc; @@ -529,8 +530,8 @@ export class DCons cell.value != null ? cell.value.toString() : cell.value === undefined - ? "undefined" - : "null" + ? "undefined" + : "null" ); cell = cell.next; } diff --git a/packages/dsp/package.json b/packages/dsp/package.json index 81f1df2e8c..8c081f2648 100644 --- a/packages/dsp/package.json +++ b/packages/dsp/package.json @@ -32,6 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { + "@thi.ng/api": "^5.0.3", "@thi.ng/math": "^1.1.1" }, "keywords": [ diff --git a/packages/dsp/src/osc.ts b/packages/dsp/src/osc.ts index 181e93f352..0a81d8bffd 100644 --- a/packages/dsp/src/osc.ts +++ b/packages/dsp/src/osc.ts @@ -1,4 +1,11 @@ -import { fract, HALF_PI, mix as _mix, TAU, wrap01 } from "@thi.ng/math"; +import { Fn } from "@thi.ng/api"; +import { + fract, + HALF_PI, + mix as _mix, + TAU, + wrap01 +} from "@thi.ng/math"; import { StatelessOscillator } from "./api"; export class Oscillator implements Iterable { @@ -112,8 +119,8 @@ export const mix = ( export const additive = ( osc: StatelessOscillator, - freqFn: (i: number) => number, - ampFn: (i: number) => number, + freqFn: Fn, + ampFn: Fn, n: number ) => (phase: number, freq: number, amp = 1, dc = 0) => { let y = 0; @@ -172,5 +179,5 @@ export const polyBLEP = (eps: number, x: number) => x < eps ? ((x /= eps), x + x - x * x - 1) : x > 1 - eps - ? ((x = (x - 1) / eps), x * x + x + x + 1) - : 0; + ? ((x = (x - 1) / eps), x * x + x + x + 1) + : 0; diff --git a/packages/fsm/src/fsm.ts b/packages/fsm/src/fsm.ts index 660b42b164..614e742d11 100644 --- a/packages/fsm/src/fsm.ts +++ b/packages/fsm/src/fsm.ts @@ -1,12 +1,12 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn2, IObjectOf } from "@thi.ng/api"; import { illegalArgs, illegalState } from "@thi.ng/errors"; import { ensureReduced, isReduced, + iterator, Reducer, Transducer, - unreduced, - iterator + unreduced } from "@thi.ng/transducers"; import { Match, Matcher } from "./api"; @@ -44,20 +44,20 @@ export function fsm( states: IObjectOf>, ctx: C, initial: string | number, - update?: (ctx: C, x: T) => void + update?: Fn2 ): Transducer; export function fsm( states: IObjectOf>, ctx: C, initial: string | number, - update?: (ctx: C, x: T) => void, + update?: Fn2, src?: Iterable ): IterableIterator; export function fsm( states: IObjectOf>, ctx: C, initial: string | number = "start", - update?: (ctx: C, x: T) => void, + update?: Fn2, src?: Iterable ) { return src diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json index 81b6c7e45f..844e1b3a5c 100644 --- a/packages/geom-isec/package.json +++ b/packages/geom-isec/package.json @@ -32,6 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { + "@thi.ng/api": "^5.0.3", "@thi.ng/geom-api": "^0.1.5", "@thi.ng/geom-closest-point": "^0.1.6", "@thi.ng/math": "^1.1.1", diff --git a/packages/geom-isec/src/ray-rect.ts b/packages/geom-isec/src/ray-rect.ts index d20594fd5e..f7829b817c 100644 --- a/packages/geom-isec/src/ray-rect.ts +++ b/packages/geom-isec/src/ray-rect.ts @@ -1,3 +1,4 @@ +import { Fn4 } from "@thi.ng/api"; import { IntersectionType } from "@thi.ng/geom-api"; import { maddN, ReadonlyVec } from "@thi.ng/vectors"; import { NONE } from "./api"; @@ -29,7 +30,7 @@ const rayRect = ( (p = rpos[1]), (d = 1 / dir[1]); t1 = (bmin[1] - p) * d; t2 = (bmax[1] - p) * d; - return [max(tmin, min(t1, t2)), min(tmax, max(t1, t2))]; + return <[number, number]>[max(tmin, min(t1, t2)), min(tmax, max(t1, t2))]; }; /** @@ -60,16 +61,17 @@ const rayBox = ( t2 = (bmax[2] - p) * d; tmin = max(tmin, min(t1, t2)); tmax = min(tmax, max(t1, t2)); - return [max(tmin, min(t1, t2)), min(tmax, max(t1, t2))]; + return <[number, number]>[max(tmin, min(t1, t2)), min(tmax, max(t1, t2))]; }; const intersectWith = ( - fn: ( - a: ReadonlyVec, - b: ReadonlyVec, - c: ReadonlyVec, - d: ReadonlyVec - ) => number[] + fn: Fn4< + ReadonlyVec, + ReadonlyVec, + ReadonlyVec, + ReadonlyVec, + [number, number] + > ) => ( rpos: ReadonlyVec, dir: ReadonlyVec, diff --git a/packages/hdom-canvas/src/index.ts b/packages/hdom-canvas/src/index.ts index 0979223248..9bc17b8d31 100644 --- a/packages/hdom-canvas/src/index.ts +++ b/packages/hdom-canvas/src/index.ts @@ -8,7 +8,12 @@ import { } from "@thi.ng/checks"; import { asCSS, ColorMode, ReadonlyColor } from "@thi.ng/color"; import { diffArray, DiffMode } from "@thi.ng/diff"; -import { equiv, HDOMImplementation, HDOMOpts, releaseTree } from "@thi.ng/hdom"; +import { + equiv, + HDOMImplementation, + HDOMOpts, + releaseTree +} from "@thi.ng/hdom"; interface DrawState { attribs: IObjectOf; @@ -109,7 +114,7 @@ const CTX_ATTRIBS = { * @param shapes shape components */ export const canvas = { - render: (_, attribs, ...body: any[]) => { + render(_, attribs, ...body: any[]) { const cattribs = { ...attribs }; delete cattribs.__diff; delete cattribs.__normalize; @@ -418,12 +423,12 @@ const resolveColor = (state: DrawState, v: any) => ? state.grads[v.substr(1)] : v : isArrayLike(v) - ? isNumber((v).mode) - ? asCSS(v) - : asCSS(v, ColorMode.RGBA) - : isNumber(v) - ? asCSS(v, ColorMode.INT32) - : v; + ? isNumber((v).mode) + ? asCSS(v) + : asCSS(v, ColorMode.RGBA) + : isNumber(v) + ? asCSS(v, ColorMode.INT32) + : v; const applyTransform = ( ctx: CanvasRenderingContext2D, diff --git a/packages/hdom-components/src/canvas.ts b/packages/hdom-components/src/canvas.ts index 865343041d..394b7a0f1e 100644 --- a/packages/hdom-components/src/canvas.ts +++ b/packages/hdom-components/src/canvas.ts @@ -20,28 +20,23 @@ export interface CanvasHandlers { /** * user init handler (called only once when canvas first) */ - init: (el: HTMLCanvasElement, ctx: T, hctx?: any, ...args: any[]) => void; + init(el: HTMLCanvasElement, ctx: T, hctx?: any, ...args: any[]): void; /** * update handler (called for each hdom update iteration) */ - update: ( + update( el: HTMLCanvasElement, ctx: T, hctx?: any, time?: number, frame?: number, ...args: any[] - ) => void; + ): void; /** * release handler (called only once when canvas element is removed * from DOM) */ - release: ( - el: HTMLCanvasElement, - ctx: T, - hctx?: any, - ...args: any[] - ) => void; + release(el: HTMLCanvasElement, ctx: T, hctx?: any, ...args: any[]): void; } /** @@ -92,7 +87,7 @@ const _canvas = ( * * ``` * const glcanvas = canvasWebGL({ - * render: (canv, gl, hctx, time, frame, ...args) => { + * render(canv, gl, hctx, time, frame, ...args) { * const col = 0.5 + 0.5 * Math.sin(time); * gl.clearColor(col, col, col, 1); * } diff --git a/packages/hdom-components/src/pager.ts b/packages/hdom-components/src/pager.ts index e92e7cd168..0c95a72ced 100644 --- a/packages/hdom-components/src/pager.ts +++ b/packages/hdom-components/src/pager.ts @@ -26,36 +26,36 @@ export interface PagerOpts { * one-based. The currently active page ID is only provided for * special highlighting cases (optional). */ - button: ( + button( page: number, curr: number, max: number, label: any, disabled: boolean - ) => any; + ): any; /** * Pager root component function. Receives all 3 button groups as * arguments. Optional. Default: `["div.pager", ...body]` */ - root: (ctx: any, ...body: any[]) => any; + root(ctx: any, ...body: any[]): any; /** * Component function to provide wrapper for the first / prev nav * button group. The `first` / `prev` args are button components. * Optional. Default: `["div.pager-prev", first, prev]` */ - groupPrev: (ctx: any, first: any, prev: any) => any; + groupPrev(ctx: any, first: any, prev: any): any; /** * Component function to provide wrapper for the page buttons group. * The `buttons` argument is an array of button components. * Optional. Default: `["div.pager-pages", ...buttons]` */ - groupPages: (ctx: any, buttons: any[]) => any; + groupPages(ctx: any, buttons: any[]): any; /** * Component function to provide wrapper for the next / last nav * button group. The `next` / `last` args are button components. * Optional. Default: `["div.pager-next", next, last]` */ - groupNext: (ctx: any, next: any, last: any) => any; + groupNext(ctx: any, next: any, last: any): any; /** * Page increment for prev / next page buttons. Default: 1 */ diff --git a/packages/iges/src/api.ts b/packages/iges/src/api.ts index e6a1665192..21da7a4305 100644 --- a/packages/iges/src/api.ts +++ b/packages/iges/src/api.ts @@ -1,3 +1,5 @@ +import { Fn } from "@thi.ng/api"; + export enum Unit { IN = 1, // inches MM, // millimeters @@ -161,8 +163,8 @@ export interface IGESDocument { P: number; D: number; }; - $FF: (x: number) => string; - $PARAM: (p: any[]) => string; + $FF: Fn; + $PARAM: Fn; } export const DEFAULT_GLOBALS: Partial = { diff --git a/packages/interceptors/src/interceptors.ts b/packages/interceptors/src/interceptors.ts index 4bbc4188f3..ac720a7af8 100644 --- a/packages/interceptors/src/interceptors.ts +++ b/packages/interceptors/src/interceptors.ts @@ -1,4 +1,10 @@ -import { getIn, Path, setter, updater } from "@thi.ng/paths"; +import { Fn } from "@thi.ng/api"; +import { + getIn, + Path, + setter, + updater +} from "@thi.ng/paths"; import { Event, FX_CANCEL, @@ -150,7 +156,7 @@ export const ensurePred = ( */ export const ensureStateLessThan = ( max: number, - path?: (e: Event) => Path, + path?: Fn, err?: InterceptorFn ) => ensurePred((state, e) => getIn(state, path ? path(e) : e[1]) < max, err); @@ -164,7 +170,7 @@ export const ensureStateLessThan = ( */ export const ensureStateGreaterThan = ( min: number, - path?: (e: Event) => Path, + path?: Fn, err?: InterceptorFn ) => ensurePred((state, e) => getIn(state, path ? path(e) : e[1]) > min, err); @@ -181,7 +187,7 @@ export const ensureStateGreaterThan = ( export const ensureStateRange = ( min: number, max: number, - path?: (e: Event) => Path, + path?: Fn, err?: InterceptorFn ) => ensurePred((state, e) => { @@ -207,7 +213,7 @@ export const ensureStateRange = ( export const ensureParamRange = ( min: number, max: number, - value?: (e: Event) => number, + value?: Fn, err?: InterceptorFn ) => ensurePred((_, e) => { @@ -234,7 +240,7 @@ export const ensureParamRange = ( * @param path * @param tx */ -export const valueSetter = (path: Path, tx?: (x: T) => T): InterceptorFn => { +export const valueSetter = (path: Path, tx?: Fn): InterceptorFn => { const $ = setter(path); return (state, [_, val]) => ({ [FX_STATE]: $(state, tx ? tx(val) : val) }); }; diff --git a/packages/iterators/src/flatten-with.ts b/packages/iterators/src/flatten-with.ts index 4ba5a7e014..e5d3adaaf8 100644 --- a/packages/iterators/src/flatten-with.ts +++ b/packages/iterators/src/flatten-with.ts @@ -1,7 +1,8 @@ +import { Fn } from "@thi.ng/api"; import { iterator } from "./iterator"; export function* flattenWith( - tx: (x: any) => any, + tx: Fn, input: Iterable ): IterableIterator { let iter = iterator(input); diff --git a/packages/iterators/src/fnil.ts b/packages/iterators/src/fnil.ts index 4585e4c18d..798cea9cb6 100644 --- a/packages/iterators/src/fnil.ts +++ b/packages/iterators/src/fnil.ts @@ -1,6 +1,7 @@ +import { Fn0, FnAny } from "@thi.ng/api"; import { illegalArity } from "@thi.ng/errors"; -export const fnil = (fn: (...args: any[]) => any, ...ctors: (() => any)[]) => { +export const fnil = (fn: FnAny, ...ctors: Fn0[]) => { let [cta, ctb, ctc] = ctors; switch (ctors.length) { case 1: diff --git a/packages/iterators/src/frequencies.ts b/packages/iterators/src/frequencies.ts index b3e4d74272..5a7abc3f54 100644 --- a/packages/iterators/src/frequencies.ts +++ b/packages/iterators/src/frequencies.ts @@ -1,3 +1,4 @@ +import { Fn } from "@thi.ng/api"; import { iterator } from "./iterator"; export interface FrequencyPair { @@ -7,7 +8,7 @@ export interface FrequencyPair { export function* frequencies( input: Iterable, - key?: (v: T) => any + key?: Fn ): IterableIterator[]> { let freqs = {}; let iter = iterator(input); diff --git a/packages/iterators/src/group-by.ts b/packages/iterators/src/group-by.ts index 2e875431fe..62286ccd17 100644 --- a/packages/iterators/src/group-by.ts +++ b/packages/iterators/src/group-by.ts @@ -1,9 +1,10 @@ +import { Fn, IObjectOf } from "@thi.ng/api"; import { iterator } from "./iterator"; export const groupBy = ( - key: (v) => any, + key: Fn, input: Iterable -): { [id: string]: T[] } => { +): IObjectOf => { let groups = {}; let iter = iterator(input); let v: IteratorResult; diff --git a/packages/iterators/src/iterate.ts b/packages/iterators/src/iterate.ts index b99e1eee29..b00b745bf1 100644 --- a/packages/iterators/src/iterate.ts +++ b/packages/iterators/src/iterate.ts @@ -1,4 +1,6 @@ -export function* iterate(fn: (x: T) => T, seed: T) { +import { Fn } from "@thi.ng/api"; + +export function* iterate(fn: Fn, seed: T) { while (true) { yield seed; seed = fn(seed); diff --git a/packages/iterators/src/juxt.ts b/packages/iterators/src/juxt.ts index c3c96e7bf2..0644ae2f34 100644 --- a/packages/iterators/src/juxt.ts +++ b/packages/iterators/src/juxt.ts @@ -1,4 +1,10 @@ -export const juxt = (...fns: ((x: T) => any)[]) => (x: T) => { +import { Fn } from "@thi.ng/api"; + +/** + * @deprecated use thi.ng/compose/juxt + * @param fns + */ +export const juxt = (...fns: Fn[]) => (x: T) => { let res = []; for (let i = 0; i < fns.length; i++) { res[i] = fns[i](x); diff --git a/packages/iterators/src/partition-by.ts b/packages/iterators/src/partition-by.ts index 8e40d14902..d367766a7d 100644 --- a/packages/iterators/src/partition-by.ts +++ b/packages/iterators/src/partition-by.ts @@ -1,6 +1,7 @@ +import { Fn } from "@thi.ng/api"; import { iterator } from "./iterator"; -export function* partitionBy(fn: (x: T) => any, input: Iterable) { +export function* partitionBy(fn: Fn, input: Iterable) { let iter = iterator(input); let chunk: T[] = []; let v: IteratorResult; diff --git a/packages/iterators/src/reduce.ts b/packages/iterators/src/reduce.ts index 4ec997c8dd..f04ad7e9c8 100644 --- a/packages/iterators/src/reduce.ts +++ b/packages/iterators/src/reduce.ts @@ -1,3 +1,4 @@ +import { Fn2 } from "@thi.ng/api"; import { iterator } from "./iterator"; export class ReducedValue { @@ -9,7 +10,7 @@ export class ReducedValue { } export const reduce = ( - rfn: (acc: B, x: A) => B | ReducedValue, + rfn: Fn2>, acc: B, input: Iterable ) => { diff --git a/packages/iterators/src/reductions.ts b/packages/iterators/src/reductions.ts index f5d7cae341..7eacd5b09c 100644 --- a/packages/iterators/src/reductions.ts +++ b/packages/iterators/src/reductions.ts @@ -1,8 +1,9 @@ +import { Fn2 } from "@thi.ng/api"; import { iterator } from "./iterator"; import { ReducedValue } from "./reduce"; export function* reductions( - rfn: (acc: B, x: A) => B | ReducedValue, + rfn: Fn2>, acc: B, input: Iterable ) { diff --git a/packages/iterators/src/repeatedly.ts b/packages/iterators/src/repeatedly.ts index 6456d88f21..8a043affd3 100644 --- a/packages/iterators/src/repeatedly.ts +++ b/packages/iterators/src/repeatedly.ts @@ -1,4 +1,6 @@ -export function* repeatedly(fn: () => T, n = Infinity) { +import { Fn0 } from "@thi.ng/api"; + +export function* repeatedly(fn: Fn0, n = Infinity) { while (n-- > 0) { yield fn(); } diff --git a/packages/iterators/src/run.ts b/packages/iterators/src/run.ts index ef816ad7e3..2fba1c3bb8 100644 --- a/packages/iterators/src/run.ts +++ b/packages/iterators/src/run.ts @@ -1,6 +1,7 @@ +import { Fn } from "@thi.ng/api"; import { iterator } from "./iterator"; -export const run = (fn: (x: T) => any, input: Iterable) => { +export const run = (fn: Fn, input: Iterable) => { let iter = iterator(input); let v: IteratorResult; while (((v = iter.next()), !v.done)) { From 3707e61d5da86799972f74bb3d0e649b39c5bc36 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 13:08:47 +0000 Subject: [PATCH 21/75] feat(api): add more Fn type aliases, update existing --- packages/api/src/api.ts | 114 ++++++++++++++++++++++++++++++++----- packages/api/src/assert.ts | 4 +- 2 files changed, 102 insertions(+), 16 deletions(-) diff --git a/packages/api/src/api.ts b/packages/api/src/api.ts index a38775bc15..4cd4585891 100644 --- a/packages/api/src/api.ts +++ b/packages/api/src/api.ts @@ -6,15 +6,7 @@ export const EVENT_DISABLE = "disable"; export const SEMAPHORE = Symbol(); -/** - * Generic 2-element comparator function type alias. Must follow this - * contract and return: - * - * - negative if `a < b` - * - zero if `a == b` - * - positive if `a > b` - */ -export type Comparator = (a: T, b: T) => number; +export const NO_OP = () => {}; /** * A no-arg function, returning T. @@ -116,15 +108,107 @@ export type Fn10 = ( j: J ) => K; +export type FnO = (a: A, ...xs: any[]) => B; + +export type FnO2 = (a: A, b: B, ...xs: any[]) => C; + +export type FnO3 = (a: A, b: B, c: C, ...xs: any[]) => D; + +export type FnO4 = (a: A, b: B, c: C, d: D, ...xs: any[]) => E; + +export type FnO5 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + ...xs: any[] +) => F; + +export type FnO6 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + ...xs: any[] +) => G; + +export type FnO7 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + ...xs: any[] +) => H; + +export type FnO8 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H, + ...xs: any[] +) => I; + +export type FnO9 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H, + i: I, + ...xs: any[] +) => J; + +export type FnO10 = ( + a: A, + b: B, + c: C, + d: D, + e: E, + f: F, + g: G, + h: H, + i: I, + j: J, + ...xs: any[] +) => K; + /** - * A vararg arg function to type T. + * An untyped vararg arg function to type T. */ export type FnAny = (...xs: any[]) => T; +/** + * An typed vararg arg function from A => B. + */ +export type FnAnyT = (...xs: A[]) => B; + +/** + * Generic 2-element comparator function type alias. Must follow this + * contract and return: + * + * - negative if `a < b` + * - zero if `a == b` + * - positive if `a > b` + */ +export type Comparator = Fn2; + /** * Event listener. */ -export type Listener = (e: Event) => void; +export type Listener = Fn; export type NumericArray = number[] | TypedArray; @@ -141,22 +225,22 @@ export type Pair = [K, V]; /** * Predicate function mapping given value to true/false. */ -export type Predicate = (a: T) => boolean; +export type Predicate = Fn; /** * Predicate function mapping given args to true/false. */ -export type Predicate2 = (a: T, b: T) => boolean; +export type Predicate2 = Fn2; /** * Higher order `Predicate` builder. Possibly stateful. */ -export type StatefulPredicate = () => Predicate; +export type StatefulPredicate = Fn0>; /** * Higher order `Predicate2` builder. Possibly stateful. */ -export type StatefulPredicate2 = () => Predicate2; +export type StatefulPredicate2 = Fn0>; export type TypedArray = | Float32Array diff --git a/packages/api/src/assert.ts b/packages/api/src/assert.ts index 7e2ddf117e..5e18eebbaf 100644 --- a/packages/api/src/assert.ts +++ b/packages/api/src/assert.ts @@ -1,3 +1,5 @@ +import { NO_OP } from "./api"; + /** * Takes a `test` result or predicate function without args and throws * error with given `msg` if test failed (i.e. is falsy). The function @@ -13,4 +15,4 @@ export const assert = throw new Error(msg); } } - : () => {}; + : NO_OP; From 9e4c171dc55ef832f96d4712c75d6af66b169c79 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 13:09:24 +0000 Subject: [PATCH 22/75] feat(compose): add trampoline() --- packages/compose/src/index.ts | 1 + packages/compose/src/trampoline.ts | 35 ++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 packages/compose/src/trampoline.ts diff --git a/packages/compose/src/index.ts b/packages/compose/src/index.ts index 593210c3e3..330397535b 100644 --- a/packages/compose/src/index.ts +++ b/packages/compose/src/index.ts @@ -8,3 +8,4 @@ export * from "./juxt"; export * from "./partial"; export * from "./thread-first"; export * from "./thread-last"; +export * from "./trampoline"; diff --git a/packages/compose/src/trampoline.ts b/packages/compose/src/trampoline.ts new file mode 100644 index 0000000000..2dd86302f0 --- /dev/null +++ b/packages/compose/src/trampoline.ts @@ -0,0 +1,35 @@ +import { Fn0 } from "@thi.ng/api"; + +/** + * Takes a function returning either a no-arg function (thunk) or its + * already realized (non-function) result. Re-executes thunk for as long + * as it returns another function/thunk. Once a non-function result has + * been produced, `trampoline` returns that value itself. If the final + * result should be function, it needs to wrapped (e.g. as a 1-elem + * array). + * + * This function should be used for non-stack consuming recursion. I.e. + * a trampoline is a form of continuation passing style and only ever + * consumes max. 2 extra stack frames, independent from recursion depth. + * + * ``` + * const countdown = (acc, x) => + * x >= 0 ? + * () => (acc.push(x), countdown(acc, x-1)) : + * acc; + * + * trampoline(countdown([], 4)) + * // [ 4, 3, 2, 1, 0 ] + * + * trampoline(countdown([], -1)) + * // [] + * ``` + * + * @param f + */ +export const trampoline = (f: T | Fn0>) => { + while (typeof f === "function") { + f = (f)(); + } + return f; +}; From 81886fec63edcf8b8a79d45737f435922a4783cc Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 13:19:21 +0000 Subject: [PATCH 23/75] refactor(compose): update partial() type args, update readme --- packages/compose/README.md | 31 +++++++++++----------- packages/compose/src/partial.ts | 46 ++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 36 deletions(-) diff --git a/packages/compose/README.md b/packages/compose/README.md index f611b4f75c..a92e174ba6 100644 --- a/packages/compose/README.md +++ b/packages/compose/README.md @@ -9,12 +9,12 @@ This project is part of the -- [About](#about) -- [Installation](#installation) -- [Dependencies](#dependencies) -- [Usage examples](#usage-examples) -- [Authors](#authors) -- [License](#license) +- [About](#about) +- [Installation](#installation) +- [Dependencies](#dependencies) +- [Usage examples](#usage-examples) +- [Authors](#authors) +- [License](#license) @@ -22,12 +22,13 @@ This project is part of the Functional composition helpers: -- [comp()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/comp.ts) -- [compL()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/comp.ts#L52) -- [juxt()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/juxt.ts) -- [partial()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/partial.ts) -- [threadFirst()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/thread-first.ts) -- [threadLast()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/thread-last.ts) +- [comp()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/comp.ts) +- [compL()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/comp.ts#L52) +- [juxt()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/juxt.ts) +- [partial()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/partial.ts) +- [threadFirst()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/thread-first.ts) +- [threadLast()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/thread-last.ts) +- [trampoline()](https://github.com/thi-ng/umbrella/tree/master/packages/compose/src/trampoline.ts) ## Installation @@ -37,8 +38,8 @@ yarn add @thi.ng/compose ## Dependencies -- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) -- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) +- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) +- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) ## Usage examples @@ -48,7 +49,7 @@ import { comp, compL, juxt } from "@thi.ng/compose"; ## Authors -- Karsten Schmidt +- Karsten Schmidt ## License diff --git a/packages/compose/src/partial.ts b/packages/compose/src/partial.ts index 615cc84739..49f1eb2ecc 100644 --- a/packages/compose/src/partial.ts +++ b/packages/compose/src/partial.ts @@ -1,46 +1,50 @@ +import { + FnAny, + FnO, + FnO2, + FnO3, + FnO4, + FnO5, + FnO6, + FnO7, + FnO8 +} from "@thi.ng/api"; import { illegalArgs } from "@thi.ng/errors"; -export function partial( - fn: (a: A, ...args: any[]) => T, - a: A -): (...args: any[]) => T; -export function partial( - fn: (a: A, b: B, ...args: any[]) => T, - a: A, - b: B -): (...args: any[]) => T; +export function partial(fn: FnO, a: A): FnAny; +export function partial(fn: FnO2, a: A, b: B): FnAny; export function partial( - fn: (a: A, b: B, c: C, ...args: any[]) => T, + fn: FnO3, a: A, b: B, c: C -): (...args: any[]) => T; +): FnAny; export function partial( - fn: (a: A, b: B, c: C, d: D, ...args: any[]) => T, + fn: FnO4, a: A, b: B, c: C, d: D -): (...args: any[]) => T; +): FnAny; export function partial( - fn: (a: A, b: B, c: C, d: D, e: E, ...args: any[]) => T, + fn: FnO5, a: A, b: B, c: C, d: D, e: E -): (...args: any[]) => T; +): FnAny; export function partial( - fn: (a: A, b: B, c: C, d: D, e: E, f: F, ...args: any[]) => T, + fn: FnO6, a: A, b: B, c: C, d: D, e: E, f: F -): (...args: any[]) => T; +): FnAny; export function partial( - fn: (a: A, b: B, c: C, d: D, e: E, f: F, g: G, ...args: any[]) => T, + fn: FnO7, a: A, b: B, c: C, @@ -48,9 +52,9 @@ export function partial( e: E, f: F, g: G -): (...args: any[]) => T; +): FnAny; export function partial( - fn: (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, ...args: any[]) => T, + fn: FnO8, a: A, b: B, c: C, @@ -59,7 +63,7 @@ export function partial( f: F, g: G, h: H -): (...args: any[]) => T; +): FnAny; export function partial(fn, ...args: any[]) { let [a, b, c, d, e, f, g, h] = args; switch (args.length) { From e2cdd95818f5903664b2fc3d3ff986fbdccd5a0b Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 13:20:21 +0000 Subject: [PATCH 24/75] minor(hdom-canvas): re-use NO_OP --- packages/hdom-canvas/src/index.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/hdom-canvas/src/index.ts b/packages/hdom-canvas/src/index.ts index 9bc17b8d31..f0ae748493 100644 --- a/packages/hdom-canvas/src/index.ts +++ b/packages/hdom-canvas/src/index.ts @@ -1,4 +1,4 @@ -import { IObjectOf } from "@thi.ng/api"; +import { IObjectOf, NO_OP } from "@thi.ng/api"; import { isArray, isArrayLike, @@ -228,16 +228,14 @@ export const diffTree = ( } }; -const NOOP = () => {}; - export const IMPL: HDOMImplementation = { createTree, normalizeTree, diffTree, - hydrateTree: NOOP, - getElementById: NOOP, - createElement: NOOP, - createTextElement: NOOP + hydrateTree: NO_OP, + getElementById: NO_OP, + createElement: NO_OP, + createTextElement: NO_OP }; const walk = ( From 0d2fdff37ffbe8bf08206d383ab1cb24b56b7cfe Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 13:21:07 +0000 Subject: [PATCH 25/75] refactor: re-use type aliases from thi.ng/api --- packages/pointfree/src/index.ts | 39 ++++++++++--------- packages/router/src/api.ts | 6 +-- packages/rstream/src/api.ts | 15 ++++--- packages/rstream/src/pubsub.ts | 6 +-- packages/rstream/src/subs/resolve.ts | 6 +-- packages/rstream/src/subs/tunnel.ts | 5 ++- packages/sax/src/index.ts | 4 +- packages/transducers-fsm/src/index.ts | 4 +- packages/transducers/src/func/compr.ts | 5 +-- packages/transducers/src/iter/interpolate.ts | 5 ++- packages/transducers/src/iter/iterate.ts | 4 +- packages/transducers/src/iter/repeatedly.ts | 4 +- packages/transducers/src/iterator.ts | 6 +-- packages/transducers/src/reduce.ts | 16 +++----- packages/transducers/src/rfn/group-binary.ts | 8 ++-- packages/transducers/src/rfn/max-compare.ts | 11 ++---- packages/transducers/src/rfn/min-compare.ts | 11 ++---- packages/transducers/src/run.ts | 15 +++---- packages/transducers/src/xform/distinct.ts | 5 ++- .../transducers/src/xform/flatten-with.ts | 7 ++-- packages/transducers/src/xform/interleave.ts | 7 ++-- packages/transducers/src/xform/interpose.ts | 7 ++-- packages/transducers/src/xform/keep.ts | 12 +++--- packages/transducers/src/xform/map-indexed.ts | 9 +++-- .../transducers/src/xform/partition-sync.ts | 4 +- packages/transducers/src/xform/side-effect.ts | 3 +- 26 files changed, 116 insertions(+), 108 deletions(-) diff --git a/packages/pointfree/src/index.ts b/packages/pointfree/src/index.ts index 4fed6fa377..b0871b7b8f 100644 --- a/packages/pointfree/src/index.ts +++ b/packages/pointfree/src/index.ts @@ -1,4 +1,9 @@ -import { IObjectOf } from "@thi.ng/api"; +import { + Fn, + Fn2, + IObjectOf, + NO_OP +} from "@thi.ng/api"; import { isArray, isFunction, isPlainObject } from "@thi.ng/checks"; import { compL } from "@thi.ng/compose"; import { equiv as _equiv } from "@thi.ng/equiv"; @@ -83,9 +88,9 @@ export const ctx = (stack: Stack = [], env: StackEnv = {}): StackContext => [ const $n = SAFE ? (m: number, n: number) => m < n && illegalState(`stack underflow`) - : () => {}; + : NO_OP; -const $ = SAFE ? (stack: Stack, n: number) => $n(stack.length, n) : () => {}; +const $ = SAFE ? (stack: Stack, n: number) => $n(stack.length, n) : NO_OP; export { $ as ensureStack, $n as ensureStackN }; @@ -96,11 +101,8 @@ const tos = (stack: Stack) => stack[stack.length - 1]; const compile = (prog: StackProgram) => compL.apply( null, - prog.map( - (w) => - !isFunction(w) - ? (ctx: StackContext) => (ctx[0].push(w), ctx) - : w + prog.map((w) => + !isFunction(w) ? (ctx: StackContext) => (ctx[0].push(w), ctx) : w ) ); @@ -215,7 +217,7 @@ export const execjs = (ctx: StackContext) => { * * @param op */ -const op1 = (op: (x) => any) => { +const op1 = (op: Fn) => { return (ctx: StackContext) => { const stack = ctx[0]; const n = stack.length - 1; @@ -233,7 +235,7 @@ const op1 = (op: (x) => any) => { * * @param op */ -const op2 = (op: (b, a) => any) => (ctx: StackContext) => { +const op2 = (op: Fn2) => (ctx: StackContext) => { const stack = ctx[0]; const n = stack.length - 2; $n(n, 0); @@ -254,7 +256,9 @@ export { op1 as maptos, op2 as map2 }; * * @param f */ -export const op2v = (f: (b, a) => any) => (ctx: StackContext): StackContext => { +export const op2v = (f: Fn2) => ( + ctx: StackContext +): StackContext => { $(ctx[0], 2); const stack = ctx[0]; const b = stack.pop(); @@ -1651,13 +1655,12 @@ export const length = op1((x) => x.length); * * ( x -- copy ) */ -export const copy = op1( - (x) => - isArray(x) - ? [...x] - : isPlainObject(x) - ? { ...x } - : illegalArgs(`can't copy type ${typeof x}`) +export const copy = op1((x) => + isArray(x) + ? [...x] + : isPlainObject(x) + ? { ...x } + : illegalArgs(`can't copy type ${typeof x}`) ); /** diff --git a/packages/router/src/api.ts b/packages/router/src/api.ts index d3f3505271..1f8ee66c5d 100644 --- a/packages/router/src/api.ts +++ b/packages/router/src/api.ts @@ -1,4 +1,4 @@ -import { IID, IObjectOf } from "@thi.ng/api"; +import { Fn, IID, IObjectOf } from "@thi.ng/api"; /** * A validation function to for authenticated routes. If this function @@ -22,14 +22,14 @@ export interface RouteParamValidator { /** * Optional coercion function executed prior to validation. */ - coerce?: (x: string) => any; + coerce?: Fn; /** * Optional arbitrary value validation. If any validator * returns non-true result, the currently checked route * becomes unmatched/invalid and the router continues * checking other routes. */ - check: (x) => boolean; + check: Fn; } /** diff --git a/packages/rstream/src/api.ts b/packages/rstream/src/api.ts index 3ec6d2bd5e..a71d6b122c 100644 --- a/packages/rstream/src/api.ts +++ b/packages/rstream/src/api.ts @@ -1,4 +1,9 @@ -import { IDeref, IID } from "@thi.ng/api"; +import { + Fn, + Fn0, + IDeref, + IID +} from "@thi.ng/api"; import { Transducer } from "@thi.ng/transducers"; import { Stream } from "./stream"; import { Subscription } from "./subscription"; @@ -25,12 +30,10 @@ export const enum CloseMode { */ // export const __State = (exports).State; -export type Fn = (x: T) => void; - export interface ISubscriber { - next: (x: T) => void; - error?: (e: any) => void; - done?: () => void; + next: Fn; + error?: Fn; + done?: Fn0; [id: string]: any; } diff --git a/packages/rstream/src/pubsub.ts b/packages/rstream/src/pubsub.ts index 1527dbea71..89ad791ce5 100644 --- a/packages/rstream/src/pubsub.ts +++ b/packages/rstream/src/pubsub.ts @@ -1,4 +1,4 @@ -import { Predicate2 } from "@thi.ng/api"; +import { Fn, Predicate2 } from "@thi.ng/api"; import { EquivMap } from "@thi.ng/associative"; import { unsupported } from "@thi.ng/errors"; import { Transducer } from "@thi.ng/transducers"; @@ -11,7 +11,7 @@ export interface PubSubOpts { * Topic function. Incoming values will be routed to topic * subscriptions using this function's return value. */ - topic: (x: B) => any; + topic: Fn; /** * Optional transformer for incoming values. If given, `xform` will * be applied first and the transformed value passed to the @@ -50,7 +50,7 @@ export interface PubSubOpts { * (incl. all topic subscriptions) from the parent stream. */ export class PubSub extends Subscription { - topicfn: (x: B) => any; + topicfn: Fn; topics: EquivMap>; constructor(opts?: PubSubOpts) { diff --git a/packages/rstream/src/subs/resolve.ts b/packages/rstream/src/subs/resolve.ts index 54f9170c1b..302726ce83 100644 --- a/packages/rstream/src/subs/resolve.ts +++ b/packages/rstream/src/subs/resolve.ts @@ -1,4 +1,4 @@ -import { IID } from "@thi.ng/api"; +import { Fn, IID } from "@thi.ng/api"; import { DEBUG, State } from "../api"; import { Subscription } from "../subscription"; import { nextID } from "../utils/idgen"; @@ -7,7 +7,7 @@ export interface ResolverOpts extends IID { /** * Error handler for failed promises. */ - fail: (e: any) => void; + fail: Fn; } /** @@ -35,7 +35,7 @@ export const resolve = (opts?: Partial) => export class Resolver extends Subscription, T> { protected outstanding = 0; - protected fail: (e: any) => void; + protected fail: Fn; constructor(opts: Partial = {}) { super(null, null, null, opts.id || `resolve-${nextID()}`); diff --git a/packages/rstream/src/subs/tunnel.ts b/packages/rstream/src/subs/tunnel.ts index ebcf19f9eb..14324fceb6 100644 --- a/packages/rstream/src/subs/tunnel.ts +++ b/packages/rstream/src/subs/tunnel.ts @@ -1,3 +1,4 @@ +import { Fn } from "@thi.ng/api"; import { DEBUG, State } from "../api"; import { Subscription } from "../subscription"; import { nextID } from "../utils/idgen"; @@ -27,7 +28,7 @@ export interface TunnelOpts { * values, e.g. ArrayBuffers. See: * https://developer.mozilla.org/en-US/docs/Web/API/Worker/postMessage */ - transferables?: (x: A) => any[]; + transferables?: Fn; /** * If given and greater than zero, all workers will be terminated * after given period (in millis) after the parent stream is done. @@ -60,7 +61,7 @@ export const tunnel = (opts: TunnelOpts) => new Tunnel(opts); export class Tunnel extends Subscription { workers: Worker[]; src: Worker | Blob | string; - transferables: (x: A) => any[]; + transferables: Fn; terminate: number; interrupt: boolean; diff --git a/packages/sax/src/index.ts b/packages/sax/src/index.ts index 6c0a1f3b3a..6364af6338 100644 --- a/packages/sax/src/index.ts +++ b/packages/sax/src/index.ts @@ -1,4 +1,4 @@ -import { IObjectOf } from "@thi.ng/api"; +import { IObjectOf, NO_OP } from "@thi.ng/api"; import { $iter, iterator, Transducer } from "@thi.ng/transducers"; import { fsm, FSMState, FSMStateMap } from "@thi.ng/transducers-fsm"; @@ -225,7 +225,7 @@ const unexpected = (s: ParseState, x: string) => const replaceEntities = (x: string) => x.replace(ENTITY_RE, (y) => ENTITIES[y]); const PARSER: FSMStateMap = { - [State.ERROR]: () => {}, + [State.ERROR]: NO_OP, [State.WAIT]: (state, ch) => { state.pos++; diff --git a/packages/transducers-fsm/src/index.ts b/packages/transducers-fsm/src/index.ts index 6f415ed42f..f7247b1893 100644 --- a/packages/transducers-fsm/src/index.ts +++ b/packages/transducers-fsm/src/index.ts @@ -1,4 +1,4 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn0, IObjectOf } from "@thi.ng/api"; import { comp, compR, @@ -23,7 +23,7 @@ export type FSMHandler = ( export interface FSMOpts { states: FSMStateMap; terminate: PropertyKey; - init: () => T; + init: Fn0; } /** diff --git a/packages/transducers/src/func/compr.ts b/packages/transducers/src/func/compr.ts index 74c4e81f62..d3418ceca8 100644 --- a/packages/transducers/src/func/compr.ts +++ b/packages/transducers/src/func/compr.ts @@ -1,5 +1,4 @@ -import { Reducer } from "../api"; -import { Reduced } from "../reduced"; +import { Reducer, ReductionFn } from "../api"; /** * Reducer composition helper. Takes existing reducer `rfn` (a 3-tuple) @@ -24,5 +23,5 @@ import { Reduced } from "../reduced"; */ export const compR = ( rfn: Reducer, - fn: (acc: A, x: C) => A | Reduced + fn: ReductionFn ): Reducer => [rfn[0], rfn[1], fn]; diff --git a/packages/transducers/src/iter/interpolate.ts b/packages/transducers/src/iter/interpolate.ts index 365be0163d..a567d80646 100644 --- a/packages/transducers/src/iter/interpolate.ts +++ b/packages/transducers/src/iter/interpolate.ts @@ -1,3 +1,4 @@ +import { Fn2 } from "@thi.ng/api"; import { normRange } from "./norm-range"; import { repeat } from "./repeat"; @@ -73,8 +74,8 @@ export function* interpolate( n: number, minPos: number, maxPos: number, - init: (a: A, b: A) => B, - mix: (interval: B, t: number) => C, + init: Fn2, + mix: Fn2, ...stops: [number, A][] ): IterableIterator { let l = stops.length; diff --git a/packages/transducers/src/iter/iterate.ts b/packages/transducers/src/iter/iterate.ts index 1de2cc1f57..00cecd3796 100644 --- a/packages/transducers/src/iter/iterate.ts +++ b/packages/transducers/src/iter/iterate.ts @@ -1,3 +1,5 @@ +import { Fn2 } from "@thi.ng/api"; + /** * Yields an infinite iterator of the inductive sequence: * @@ -18,7 +20,7 @@ * @param fn * @param seed */ -export function* iterate(fn: (x: T, i: number) => T, seed: T) { +export function* iterate(fn: Fn2, seed: T) { let i = 0; while (true) { yield seed; diff --git a/packages/transducers/src/iter/repeatedly.ts b/packages/transducers/src/iter/repeatedly.ts index 6456d88f21..8a043affd3 100644 --- a/packages/transducers/src/iter/repeatedly.ts +++ b/packages/transducers/src/iter/repeatedly.ts @@ -1,4 +1,6 @@ -export function* repeatedly(fn: () => T, n = Infinity) { +import { Fn0 } from "@thi.ng/api"; + +export function* repeatedly(fn: Fn0, n = Infinity) { while (n-- > 0) { yield fn(); } diff --git a/packages/transducers/src/iterator.ts b/packages/transducers/src/iterator.ts index cac8f87d6f..3f244d4d99 100644 --- a/packages/transducers/src/iterator.ts +++ b/packages/transducers/src/iterator.ts @@ -1,10 +1,10 @@ -import { SEMAPHORE } from "@thi.ng/api"; +import { FnAny, SEMAPHORE } from "@thi.ng/api"; import { isIterable } from "@thi.ng/checks"; - import { Reducer, Transducer } from "./api"; import { isReduced, unreduced } from "./reduced"; import { push } from "./rfn/push"; + /** * Takes a transducer and input iterable. Returns iterator of * transformed results. @@ -71,7 +71,7 @@ export function* iterator1( * @param impl */ export const $iter = ( - xform: (...xs: any[]) => Transducer, + xform: FnAny>, args: any[], impl = iterator1 ) => { diff --git a/packages/transducers/src/reduce.ts b/packages/transducers/src/reduce.ts index 00434f8670..9a169bac1b 100644 --- a/packages/transducers/src/reduce.ts +++ b/packages/transducers/src/reduce.ts @@ -1,7 +1,8 @@ +import { Fn0, FnAny } from "@thi.ng/api"; import { implementsFunction, isArrayLike, isIterable } from "@thi.ng/checks"; import { illegalArity } from "@thi.ng/errors"; -import { IReducible, Reducer } from "./api"; -import { isReduced, Reduced, unreduced } from "./reduced"; +import { IReducible, Reducer, ReductionFn } from "./api"; +import { isReduced, unreduced } from "./reduced"; export function reduce(rfn: Reducer, xs: Iterable): A; export function reduce(rfn: Reducer, acc: A, xs: Iterable): A; @@ -59,15 +60,10 @@ export function reduce(...args: any[]): A { * @param init init step of reducer * @param rfn reduction step of reducer */ -export const reducer = ( - init: () => A, - rfn: (acc: A, x: B) => A | Reduced -) => >[init, (acc) => acc, rfn]; +export const reducer = (init: Fn0, rfn: ReductionFn) => + >[init, (acc) => acc, rfn]; -export const $$reduce = ( - rfn: (...args: any[]) => Reducer, - args: any[] -) => { +export const $$reduce = (rfn: FnAny>, args: any[]) => { const n = args.length - 1; return isIterable(args[n]) ? args.length > 1 diff --git a/packages/transducers/src/rfn/group-binary.ts b/packages/transducers/src/rfn/group-binary.ts index dbbe82c4b6..25b341914c 100644 --- a/packages/transducers/src/rfn/group-binary.ts +++ b/packages/transducers/src/rfn/group-binary.ts @@ -1,10 +1,10 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn, Fn0, IObjectOf } from "@thi.ng/api"; import { Reducer } from "../api"; import { groupByObj } from "./group-by-obj"; import { push } from "./push"; const branchPred = ( - key: (x: T) => number, + key: Fn, b: number, l: PropertyKey, r: PropertyKey @@ -83,8 +83,8 @@ const branchPred = ( */ export const groupBinary = ( bits: number, - key: (x: T) => number, - branch?: () => IObjectOf, + key: Fn, + branch?: Fn0>, leaf?: Reducer, left: PropertyKey = "l", right: PropertyKey = "r" diff --git a/packages/transducers/src/rfn/max-compare.ts b/packages/transducers/src/rfn/max-compare.ts index fff54a61e0..e5572b71a7 100644 --- a/packages/transducers/src/rfn/max-compare.ts +++ b/packages/transducers/src/rfn/max-compare.ts @@ -1,15 +1,12 @@ -import { Comparator } from "@thi.ng/api"; +import { Comparator, Fn0 } from "@thi.ng/api"; import { compare } from "@thi.ng/compare"; import { Reducer } from "../api"; import { $$reduce, reducer } from "../reduce"; +export function maxCompare(init: Fn0, cmp?: Comparator): Reducer; +export function maxCompare(init: Fn0, xs: Iterable): T; export function maxCompare( - init: () => T, - cmp?: Comparator -): Reducer; -export function maxCompare(init: () => T, xs: Iterable): T; -export function maxCompare( - init: () => T, + init: Fn0, cmp: Comparator, xs: Iterable ): T; diff --git a/packages/transducers/src/rfn/min-compare.ts b/packages/transducers/src/rfn/min-compare.ts index 5be6e7e343..2472016265 100644 --- a/packages/transducers/src/rfn/min-compare.ts +++ b/packages/transducers/src/rfn/min-compare.ts @@ -1,15 +1,12 @@ -import { Comparator } from "@thi.ng/api"; +import { Comparator, Fn0 } from "@thi.ng/api"; import { compare } from "@thi.ng/compare"; import { Reducer } from "../api"; import { $$reduce, reducer } from "../reduce"; +export function minCompare(init: Fn0, cmp?: Comparator): Reducer; +export function minCompare(init: Fn0, xs: Iterable): T; export function minCompare( - init: () => T, - cmp?: Comparator -): Reducer; -export function minCompare(init: () => T, xs: Iterable): T; -export function minCompare( - init: () => T, + init: Fn0, cmp: Comparator, xs: Iterable ): T; diff --git a/packages/transducers/src/run.ts b/packages/transducers/src/run.ts index 0496f46691..79e839530f 100644 --- a/packages/transducers/src/run.ts +++ b/packages/transducers/src/run.ts @@ -1,7 +1,8 @@ -import { IReducible, Transducer } from "./api"; +import { Fn, NO_OP } from "@thi.ng/api"; +import { IReducible, Reducer, Transducer } from "./api"; import { transduce } from "./transduce"; -const nop = () => {}; +const NO_OP_REDUCER: Reducer = [NO_OP, NO_OP, NO_OP]; /** * Transforms `xs` with given transducer and optional side effect @@ -18,19 +19,19 @@ export function run(tx: Transducer, xs: Iterable): void; export function run(tx: Transducer, xs: IReducible): void; export function run( tx: Transducer, - fx: (x: B) => void, + fx: Fn, xs: Iterable ): void; export function run( tx: Transducer, - fx: (x: B) => void, + fx: Fn, xs: IReducible ): void; export function run(tx: Transducer, ...args: any[]) { if (args.length === 1) { - transduce(tx, [nop, nop, nop], args[0]); + transduce(tx, NO_OP_REDUCER, args[0]); } else { - const fx = args[0]; - transduce(tx, [nop, nop, (_, x) => fx(x)], args[1]); + const fx: Fn = args[0]; + transduce(tx, [NO_OP, NO_OP, (_, x) => fx(x)], args[1]); } } diff --git a/packages/transducers/src/xform/distinct.ts b/packages/transducers/src/xform/distinct.ts index 9f73e4078e..b31dc64a03 100644 --- a/packages/transducers/src/xform/distinct.ts +++ b/packages/transducers/src/xform/distinct.ts @@ -1,10 +1,11 @@ +import { Fn, Fn0 } from "@thi.ng/api"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { $iter } from "../iterator"; export interface DistinctOpts { - key: (x: T) => any; - cache: () => Set; + key: Fn; + cache: Fn0>; } /** diff --git a/packages/transducers/src/xform/flatten-with.ts b/packages/transducers/src/xform/flatten-with.ts index 0d23fc15c9..09bce57e27 100644 --- a/packages/transducers/src/xform/flatten-with.ts +++ b/packages/transducers/src/xform/flatten-with.ts @@ -1,17 +1,18 @@ +import { Fn } from "@thi.ng/api"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { iterator } from "../iterator"; import { isReduced } from "../reduced"; export function flattenWith( - fn: (x: T) => Iterable + fn: Fn> ): Transducer, T>; export function flattenWith( - fn: (x: T) => Iterable, + fn: Fn>, src: Iterable> ): IterableIterator; export function flattenWith( - fn: (x: T) => Iterable, + fn: Fn>, src?: Iterable> ): any { return src diff --git a/packages/transducers/src/xform/interleave.ts b/packages/transducers/src/xform/interleave.ts index 5857b850b5..ca5914f555 100644 --- a/packages/transducers/src/xform/interleave.ts +++ b/packages/transducers/src/xform/interleave.ts @@ -1,11 +1,12 @@ +import { Fn0 } from "@thi.ng/api"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { iterator } from "../iterator"; import { isReduced } from "../reduced"; -export function interleave(sep: B | (() => B)): Transducer; +export function interleave(sep: B | Fn0): Transducer; export function interleave( - sep: B | (() => B), + sep: B | Fn0, src: Iterable ): IterableIterator; export function interleave(sep: any, src?: Iterable): any { @@ -13,7 +14,7 @@ export function interleave(sep: any, src?: Iterable): any { ? iterator(interleave(sep), src) : (rfn: Reducer) => { const r = rfn[2]; - const _sep: () => B = typeof sep === "function" ? sep : () => sep; + const _sep: Fn0 = typeof sep === "function" ? sep : () => sep; return compR(rfn, (acc, x: A) => { acc = r(acc, _sep()); return isReduced(acc) ? acc : r(acc, x); diff --git a/packages/transducers/src/xform/interpose.ts b/packages/transducers/src/xform/interpose.ts index 8e1140d158..b96ff62c7d 100644 --- a/packages/transducers/src/xform/interpose.ts +++ b/packages/transducers/src/xform/interpose.ts @@ -1,11 +1,12 @@ +import { Fn0 } from "@thi.ng/api"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { iterator } from "../iterator"; import { isReduced } from "../reduced"; -export function interpose(sep: B | (() => B)): Transducer; +export function interpose(sep: B | Fn0): Transducer; export function interpose( - sep: B | (() => B), + sep: B | Fn0, src: Iterable ): IterableIterator; export function interpose(sep: any, src?: Iterable): any { @@ -13,7 +14,7 @@ export function interpose(sep: any, src?: Iterable): any { ? iterator(interpose(sep), src) : (rfn: Reducer) => { const r = rfn[2]; - const _sep: () => B = typeof sep === "function" ? sep : () => sep; + const _sep: Fn0 = typeof sep === "function" ? sep : () => sep; let first = true; return compR(rfn, (acc, x: A) => { if (first) { diff --git a/packages/transducers/src/xform/keep.ts b/packages/transducers/src/xform/keep.ts index 4206a625f5..36a342a917 100644 --- a/packages/transducers/src/xform/keep.ts +++ b/packages/transducers/src/xform/keep.ts @@ -1,12 +1,13 @@ +import { Fn } from "@thi.ng/api"; import { identity } from "@thi.ng/compose"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { $iter } from "../iterator"; -export function keep(pred?: (x: T) => any): Transducer; +export function keep(pred?: Fn): Transducer; export function keep(src: Iterable): IterableIterator; export function keep( - pred: (x: T) => any, + pred: Fn, src: Iterable ): IterableIterator; export function keep(...args: any[]): any { @@ -14,10 +15,9 @@ export function keep(...args: any[]): any { $iter(keep, args) || ((rfn: Reducer) => { const r = rfn[2]; - const pred: (x: T) => any = args[0] || identity; - return compR( - rfn, - (acc, x: T) => (pred(x) != null ? r(acc, x) : acc) + const pred: Fn = args[0] || identity; + return compR(rfn, (acc, x: T) => + pred(x) != null ? r(acc, x) : acc ); }) ); diff --git a/packages/transducers/src/xform/map-indexed.ts b/packages/transducers/src/xform/map-indexed.ts index f54d60d3a6..c2bc904749 100644 --- a/packages/transducers/src/xform/map-indexed.ts +++ b/packages/transducers/src/xform/map-indexed.ts @@ -1,3 +1,4 @@ +import { Fn2 } from "@thi.ng/api"; import { Reducer, Transducer } from "../api"; import { compR } from "../func/compr"; import { $iter } from "../iterator"; @@ -20,15 +21,15 @@ import { $iter } from "../iterator"; * @param offset initial index */ export function mapIndexed( - fn: (i: number, x: A) => B, + fn: Fn2, offset?: number ): Transducer; export function mapIndexed( - fn: (i: number, x: A) => B, + fn: Fn2, src: Iterable ): IterableIterator; export function mapIndexed( - fn: (i: number, x: A) => B, + fn: Fn2, offset: number, src: Iterable ): IterableIterator; @@ -37,7 +38,7 @@ export function mapIndexed(...args: any[]): any { $iter(mapIndexed, args) || ((rfn: Reducer) => { const r = rfn[2]; - const fn: (i: number, x: A) => B = args[0]; + const fn: Fn2 = args[0]; let i: number = args[1] || 0; return compR(rfn, (acc, x: A) => r(acc, fn(i++, x))); }) diff --git a/packages/transducers/src/xform/partition-sync.ts b/packages/transducers/src/xform/partition-sync.ts index 4224c80abf..cc54357b72 100644 --- a/packages/transducers/src/xform/partition-sync.ts +++ b/packages/transducers/src/xform/partition-sync.ts @@ -1,11 +1,11 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn, IObjectOf } from "@thi.ng/api"; import { isArray } from "@thi.ng/checks"; import { identity } from "@thi.ng/compose"; import { Reducer, Transducer } from "../api"; import { $iter, iterator } from "../iterator"; export interface PartitionSyncOpts { - key: (x: T) => PropertyKey; + key: Fn; mergeOnly: boolean; reset: boolean; all: boolean; diff --git a/packages/transducers/src/xform/side-effect.ts b/packages/transducers/src/xform/side-effect.ts index 741cde83a8..1c1ef407e8 100644 --- a/packages/transducers/src/xform/side-effect.ts +++ b/packages/transducers/src/xform/side-effect.ts @@ -1,3 +1,4 @@ +import { Fn } from "@thi.ng/api"; import { Transducer } from "../api"; import { map } from "./map"; @@ -8,5 +9,5 @@ import { map } from "./map"; * * @param fn side effect */ -export const sideEffect = (fn: (x: T) => void): Transducer => +export const sideEffect = (fn: Fn): Transducer => map((x) => (fn(x), x)); From 9ad2d2ea147fc44609c5e55a275c7ecda189d24b Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 14:43:01 +0000 Subject: [PATCH 26/75] refactor(examples): re-use Fn type aliases --- examples/canvas-dial/src/dial.ts | 8 ++----- examples/devcards/src/index.ts | 23 ++++++++++---------- examples/hdom-dropdown-fuzzy/src/dropdown.ts | 6 ++--- examples/hdom-dropdown/src/dropdown.ts | 4 ++-- 4 files changed, 18 insertions(+), 23 deletions(-) diff --git a/examples/canvas-dial/src/dial.ts b/examples/canvas-dial/src/dial.ts index 1e1236e2fb..14fab20cc5 100644 --- a/examples/canvas-dial/src/dial.ts +++ b/examples/canvas-dial/src/dial.ts @@ -4,11 +4,7 @@ import { isString } from "@thi.ng/checks"; import { canvas2D } from "@thi.ng/hdom-components"; import { fitClamped } from "@thi.ng/math"; import { Subscription } from "@thi.ng/rstream"; -import { - GestureEvent, - gestureStream, - GestureType -} from "@thi.ng/rstream-gestures"; +import { GestureEvent, gestureStream, GestureType } from "@thi.ng/rstream-gestures"; import { heading, sub2 } from "@thi.ng/vectors"; /** @@ -68,7 +64,7 @@ export interface DialOpts { /** * Label formatter. No label will be displayed, if missing. */ - label: (x: number) => string; + label: Fn; /** * Label Y offset from `cy` * Default: 0 diff --git a/examples/devcards/src/index.ts b/examples/devcards/src/index.ts index eb6e38f891..b7b55fd658 100644 --- a/examples/devcards/src/index.ts +++ b/examples/devcards/src/index.ts @@ -1,3 +1,4 @@ +import { Fn } from "@thi.ng/api"; import { IAtom } from "@thi.ng/atom"; import { Atom, Cursor } from "@thi.ng/atom"; import { start } from "@thi.ng/hdom"; @@ -65,8 +66,8 @@ interface SliderOpts { min: number; max: number; step?: number; - label: (val) => any; - onchange?: (e) => void; + label: Fn; + onchange?: EventListener; } /** @@ -129,16 +130,14 @@ function bmi(state: IAtom) { ]; // derived view of bmi value to translate it into english - const bmiClass = state.addView( - "bmi", - (bmi: number) => - bmi > thresh[3][0] - ? thresh[3][1] - : bmi > thresh[2][0] - ? thresh[2][1] - : bmi > thresh[1][0] - ? thresh[1][1] - : thresh[0][1] + const bmiClass = state.addView("bmi", (bmi: number) => + bmi > thresh[3][0] + ? thresh[3][1] + : bmi > thresh[2][0] + ? thresh[2][1] + : bmi > thresh[1][0] + ? thresh[1][1] + : thresh[0][1] ); // another derived view to create SVG visualization diff --git a/examples/hdom-dropdown-fuzzy/src/dropdown.ts b/examples/hdom-dropdown-fuzzy/src/dropdown.ts index 7ccd780d6c..ca60e224a7 100644 --- a/examples/hdom-dropdown-fuzzy/src/dropdown.ts +++ b/examples/hdom-dropdown-fuzzy/src/dropdown.ts @@ -1,8 +1,8 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn, IObjectOf } from "@thi.ng/api"; import { ReadonlyAtom } from "@thi.ng/atom"; import { isString } from "@thi.ng/checks"; import { appLink } from "@thi.ng/hdom-components"; -import { EventBus, EV_SET_VALUE, EV_TOGGLE_VALUE } from "@thi.ng/interceptors"; +import { EV_SET_VALUE, EV_TOGGLE_VALUE, EventBus } from "@thi.ng/interceptors"; import { getIn, Path } from "@thi.ng/paths"; export interface BaseContext { @@ -14,7 +14,7 @@ export interface DropdownArgs { state: DropdownState; statePath: Path; ontoggle: EventListener; - onchange: (id: any) => EventListener; + onchange: Fn; attribs: IObjectOf; hoverLabel: any; openLabel: any; diff --git a/examples/hdom-dropdown/src/dropdown.ts b/examples/hdom-dropdown/src/dropdown.ts index fe1bc9f411..3e684bc587 100644 --- a/examples/hdom-dropdown/src/dropdown.ts +++ b/examples/hdom-dropdown/src/dropdown.ts @@ -1,4 +1,4 @@ -import { IObjectOf } from "@thi.ng/api"; +import { Fn, IObjectOf } from "@thi.ng/api"; import { ReadonlyAtom } from "@thi.ng/atom"; import { appLink } from "@thi.ng/hdom-components"; import { EV_SET_VALUE, EV_TOGGLE_VALUE, EventBus } from "@thi.ng/interceptors"; @@ -13,7 +13,7 @@ export interface DropdownArgs { state: DropdownState; statePath: Path; ontoggle: EventListener; - onchange: (id: any) => EventListener; + onchange: Fn; attribs: IObjectOf; hoverLabel: any; onmouseover: EventListener; From a9b16678bf0a7c563746d0bdc8d7df77876f301a Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 14:44:05 +0000 Subject: [PATCH 27/75] refactor(defmulti): re-use Fn type aliases --- packages/defmulti/src/index.ts | 149 +++++++++++++++------------------ 1 file changed, 69 insertions(+), 80 deletions(-) diff --git a/packages/defmulti/src/index.ts b/packages/defmulti/src/index.ts index 3e3802285f..9cabfaa801 100644 --- a/packages/defmulti/src/index.ts +++ b/packages/defmulti/src/index.ts @@ -1,16 +1,27 @@ -import { IObjectOf } from "@thi.ng/api"; -import { illegalArgs, unsupported, illegalArity } from "@thi.ng/errors"; +import { + Fn, + Fn2, + Fn3, + Fn4, + Fn5, + Fn6, + Fn7, + Fn8, + FnAny, + IObjectOf +} from "@thi.ng/api"; +import { illegalArgs, illegalArity, unsupported } from "@thi.ng/errors"; export const DEFAULT: unique symbol = Symbol(); -export type DispatchFn = (...args) => PropertyKey; -export type DispatchFn1 = (a: A) => PropertyKey; +export type DispatchFn = FnAny; +export type DispatchFn1 = Fn; export type DispatchFn1O = (a: A, b?: B) => PropertyKey; -export type DispatchFn2 = (a: A, b: B) => PropertyKey; +export type DispatchFn2 = Fn2; export type DispatchFn2O = (a: A, b: B, c?: C) => PropertyKey; -export type DispatchFn3 = (a: A, b: B, c: C) => PropertyKey; +export type DispatchFn3 = Fn3; export type DispatchFn3O = (a: A, b: B, c: C, d?: D) => PropertyKey; -export type DispatchFn4 = (a: A, b: B, c: C, d: D) => PropertyKey; +export type DispatchFn4 = Fn4; export type DispatchFn4O = ( a: A, b: B, @@ -18,13 +29,7 @@ export type DispatchFn4O = ( d: D, e?: E ) => PropertyKey; -export type DispatchFn5 = ( - a: A, - b: B, - c: C, - d: D, - e: E -) => PropertyKey; +export type DispatchFn5 = Fn5; export type DispatchFn5O = ( a: A, b: B, @@ -33,14 +38,7 @@ export type DispatchFn5O = ( e: E, f?: F ) => PropertyKey; -export type DispatchFn6 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F -) => PropertyKey; +export type DispatchFn6 = Fn6; export type DispatchFn6O = ( a: A, b: B, @@ -50,15 +48,16 @@ export type DispatchFn6O = ( f: F, g?: G ) => PropertyKey; -export type DispatchFn7 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F, - g: G -) => PropertyKey; +export type DispatchFn7 = Fn7< + A, + B, + C, + D, + E, + F, + G, + PropertyKey +>; export type DispatchFn7O = ( a: A, b: B, @@ -69,16 +68,17 @@ export type DispatchFn7O = ( g: G, h?: H ) => PropertyKey; -export type DispatchFn8 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F, - g: G, - h: H -) => PropertyKey; +export type DispatchFn8 = Fn8< + A, + B, + C, + D, + E, + F, + G, + H, + PropertyKey +>; export type DispatchFn8O = ( a: A, b: B, @@ -91,14 +91,14 @@ export type DispatchFn8O = ( i?: I ) => PropertyKey; -export type Implementation = (...args: any[]) => T; -export type Implementation1 = (a: A) => T; +export type Implementation = FnAny; +export type Implementation1 = Fn; export type Implementation1O = (a: A, b?: B) => T; -export type Implementation2 = (a: A, b: B) => T; +export type Implementation2 = Fn2; export type Implementation2O = (a: A, b: B, c?: C) => T; -export type Implementation3 = (a: A, b: B, c: C) => T; +export type Implementation3 = Fn3; export type Implementation3O = (a: A, b: B, c: C, d?: D) => T; -export type Implementation4 = (a: A, b: B, c: C, d: D) => T; +export type Implementation4 = Fn4; export type Implementation4O = ( a: A, b: B, @@ -106,13 +106,7 @@ export type Implementation4O = ( d: D, e?: E ) => T; -export type Implementation5 = ( - a: A, - b: B, - c: C, - d: D, - e: E -) => T; +export type Implementation5 = Fn5; export type Implementation5O = ( a: A, b: B, @@ -121,14 +115,7 @@ export type Implementation5O = ( e: E, f?: F ) => T; -export type Implementation6 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F -) => T; +export type Implementation6 = Fn6; export type Implementation6O = ( a: A, b: B, @@ -138,15 +125,16 @@ export type Implementation6O = ( f: F, g?: G ) => T; -export type Implementation7 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F, - g: G -) => T; +export type Implementation7 = Fn7< + A, + B, + C, + D, + E, + F, + G, + T +>; export type Implementation7O = ( a: A, b: B, @@ -157,16 +145,17 @@ export type Implementation7O = ( g: G, h?: H ) => T; -export type Implementation8 = ( - a: A, - b: B, - c: C, - d: D, - e: E, - f: F, - g: G, - h: H -) => T; +export type Implementation8 = Fn8< + A, + B, + C, + D, + E, + F, + G, + H, + T +>; export type Implementation8O = ( a: A, b: B, From 9ebe6775db509d53c121bc9e730ecd0001c5e242 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 14:45:32 +0000 Subject: [PATCH 28/75] refactor(interceptors): re-use Fn type aliases --- packages/interceptors/src/interceptors.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/interceptors/src/interceptors.ts b/packages/interceptors/src/interceptors.ts index ac720a7af8..4f01ee1515 100644 --- a/packages/interceptors/src/interceptors.ts +++ b/packages/interceptors/src/interceptors.ts @@ -1,4 +1,4 @@ -import { Fn } from "@thi.ng/api"; +import { Fn, FnO } from "@thi.ng/api"; import { getIn, Path, @@ -266,10 +266,7 @@ export const valueSetter = (path: Path, tx?: Fn): InterceptorFn => { * @param path * @param fn */ -export const valueUpdater = ( - path: Path, - fn: (x: T, ...args: any[]) => T -): InterceptorFn => { +export const valueUpdater = (path: Path, fn: FnO): InterceptorFn => { const $ = updater(path, fn); return (state, [_, ...args]) => ({ [FX_STATE]: $(state, ...args) }); }; From c9a2456cf45eb8bf1723c3854d115c592cbc513e Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Fri, 8 Mar 2019 14:46:04 +0000 Subject: [PATCH 29/75] refactor(vectors): re-use Fn type aliases --- packages/vectors/src/api.ts | 59 +++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/packages/vectors/src/api.ts b/packages/vectors/src/api.ts index 474ce1cb7e..a26449ff2d 100644 --- a/packages/vectors/src/api.ts +++ b/packages/vectors/src/api.ts @@ -1,4 +1,14 @@ -import { ICopy, IEmpty, IEqualsDelta, ILength } from "@thi.ng/api"; +import { + Fn, + Fn2, + Fn3, + Fn4, + Fn7, + ICopy, + IEmpty, + IEqualsDelta, + ILength +} from "@thi.ng/api"; export interface Vec extends Iterable, ILength { [id: number]: number; @@ -37,40 +47,31 @@ export interface MultiVecOp { export type VecPair = [Vec, Vec]; -export type VecOpV = (out: Vec, a: ReadonlyVec) => Vec; -export type VecOpN = (out: Vec, n: number) => Vec; -export type VecOpVV = (out: Vec, a: ReadonlyVec, b: ReadonlyVec) => Vec; -export type VecOpVN = (out: Vec, a: ReadonlyVec, n: number) => Vec; -export type VecOpVVV = ( - out: Vec, - a: ReadonlyVec, - b: ReadonlyVec, - c: ReadonlyVec -) => Vec; -export type VecOpVVN = ( - out: Vec, - a: ReadonlyVec, - b: ReadonlyVec, - n: number -) => Vec; -export type VecOpVNN = (out: Vec, a: ReadonlyVec, u: number, v: number) => Vec; -export type VecOpVVVVNN = ( - out: Vec, - a: ReadonlyVec, - b: ReadonlyVec, - c: ReadonlyVec, - d: ReadonlyVec, - u: number, - v: number -) => Vec; +export type VecOpV = Fn2; +export type VecOpN = Fn2; +export type VecOpVV = Fn3; +export type VecOpVN = Fn3; +export type VecOpVVV = Fn4; +export type VecOpVVN = Fn4; +export type VecOpVNN = Fn4; +export type VecOpVVVVNN = Fn7< + Vec, + ReadonlyVec, + ReadonlyVec, + ReadonlyVec, + ReadonlyVec, + number, + number, + Vec +>; export type VecOpVO = (out: Vec, a: ReadonlyVec, b?: T) => Vec; export type VecOpOO = (out: Vec, a?: A, b?: B) => Vec; export type VecOpOOO = (out: Vec, a?: A, b?: B, c?: C) => Vec; export type VecOpNNO = (out: Vec, a: number, b: number, c?: T) => Vec; -export type VecOpRoV = (a: ReadonlyVec) => T; -export type VecOpRoVV = (a: ReadonlyVec, b: ReadonlyVec) => T; +export type VecOpRoV = Fn; +export type VecOpRoVV = Fn2; export type VecOpRoVVO = (a: ReadonlyVec, b: ReadonlyVec, c?: O) => T; export type VecOpSV = ( From 01da90c698de04a45d5577d684cb41d4531fba5b Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 10 Mar 2019 22:09:01 +0000 Subject: [PATCH 30/75] refactor(examples): update CA example --- examples/cellular-automata/src/index.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/examples/cellular-automata/src/index.ts b/examples/cellular-automata/src/index.ts index cdf6078870..65513fc610 100644 --- a/examples/cellular-automata/src/index.ts +++ b/examples/cellular-automata/src/index.ts @@ -4,9 +4,8 @@ import { buildKernel2d, comp, convolve2d, - lookup2d, map, - multiplex, + mapIndexed, partition, push, range2d, @@ -83,11 +82,8 @@ export const convolve = ( ) => transduce( comp( - multiplex( - convolve2d({ src, width, height, kernel, wrap }), - map(lookup2d(src, width)) - ), - map(lookup2d(rules, rstride)) + convolve2d({ src, width, height, kernel, wrap }), + mapIndexed((i, x) => rules[x + src[i] * rstride]) ), push(), range2d(width, height) From 31e594b7dd306f7987ea5bf73250c394c93c90a9 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 10 Mar 2019 22:11:11 +0000 Subject: [PATCH 31/75] feat(transducers): add / update convolution fns - add buildKernel1d, convolve1d --- packages/transducers/src/xform/convolve.ts | 120 ++++++++++++++++++--- 1 file changed, 106 insertions(+), 14 deletions(-) diff --git a/packages/transducers/src/xform/convolve.ts b/packages/transducers/src/xform/convolve.ts index 1386304d11..08c4c37843 100644 --- a/packages/transducers/src/xform/convolve.ts +++ b/packages/transducers/src/xform/convolve.ts @@ -1,5 +1,7 @@ +import { Fn0 } from "@thi.ng/api"; import { illegalArgs } from "@thi.ng/errors"; -import { Transducer } from "../api"; +import { Reducer, Transducer } from "../api"; +import { range } from "../iter/range"; import { range2d } from "../iter/range2d"; import { zip } from "../iter/zip"; import { iterator1 } from "../iterator"; @@ -11,18 +13,60 @@ export type ConvolutionKernel1D = [number, number][]; export type ConvolutionKernel2D = [number, [number, number]][]; export type ConvolutionKernel3D = [number, [number, number, number]][]; -export interface Convolution2DOpts { +export interface ConvolutionOpts { + /** + * Current cell states + */ src: number[]; - width: number; - height: number; + /** + * Kernel weights + */ weights?: number[]; - kernel?: ConvolutionKernel2D; + /** + * Convolution kernel, pre-build via `buildKernel*` + */ + kernel?: K; + /** + * Cell matrix width + */ + width: number; + /** + * Kernel width (MUST be odd number) + */ kwidth?: number; - kheight?: number; + /** + * True, if convolution is seamless / wraps around near edges. + * Default: true + */ wrap?: boolean; + /** + * Only used if `wrap = false`. Used as neighboring cell values when + * processing edge cells. Default: 0 + */ border?: number; + /** + * Optional custom reducer to process convoluted results. Default: + * `add` + */ + reduce?: Fn0>; +} +export interface Convolution1DOpts + extends ConvolutionOpts {} + +export interface Convolution2DOpts + extends ConvolutionOpts { + height: number; + kheight?: number; } +export const buildKernel1d = ( + weights: Iterable, + w: number +): ConvolutionKernel1D => { + const w2 = w >> 1; + return [...zip(weights, range(-w2, w2 + 1))]; +}; + export const buildKernel2d = ( weights: Iterable, w: number, @@ -33,6 +77,23 @@ export const buildKernel2d = ( return [...zip(weights, range2d(-w2, w2 + 1, -h2, h2 + 1))]; }; +const kernelLookup1d = ( + src: number[], + x: number, + width: number, + wrap: boolean, + border: number +) => + wrap + ? ([w, ox]) => { + const xx = + x < -ox ? width + ox : x >= width - ox ? ox - 1 : x + ox; + return w * src[xx]; + } + : ([w, ox]) => { + return x < -ox || x >= width - ox ? border : w * src[x + ox]; + }; + const kernelLookup2d = ( src: number[], x: number, @@ -56,34 +117,65 @@ const kernelLookup2d = ( : w * src[(y + oy) * width + x + ox]; }; +const kernelError = () => illegalArgs(`no kernel or kernel config`); + +export function convolve1d(opts: Convolution1DOpts): Transducer; +export function convolve1d( + opts: Convolution1DOpts, + indices: Iterable +): IterableIterator; +export function convolve1d( + opts: Convolution1DOpts, + indices?: Iterable +): any { + if (indices) { + return iterator1(convolve1d(opts), indices); + } + const { src, width } = opts; + const wrap = opts.wrap !== false; + const border = opts.border || 0; + const rfn = opts.reduce || add; + let kernel = opts.kernel; + if (!kernel) { + !(opts.weights && opts.kwidth) && kernelError(); + kernel = buildKernel1d(opts.weights, opts.kwidth); + } + return map((p: number) => + transduce( + map(kernelLookup1d(src, p, width, wrap, border)), + rfn(), + kernel + ) + ); +} + export function convolve2d( opts: Convolution2DOpts ): Transducer; export function convolve2d( opts: Convolution2DOpts, - src: Iterable + indices: Iterable ): IterableIterator; export function convolve2d( opts: Convolution2DOpts, - _src?: Iterable + indices?: Iterable ): any { - if (_src) { - return iterator1(convolve2d(opts), _src); + if (indices) { + return iterator1(convolve2d(opts), indices); } const { src, width, height } = opts; const wrap = opts.wrap !== false; const border = opts.border || 0; + const rfn = opts.reduce || add; let kernel = opts.kernel; if (!kernel) { - if (!(opts.weights && opts.kwidth && opts.kheight)) { - illegalArgs(`no kernel or kernel config`); - } + !(opts.weights && opts.kwidth && opts.kheight) && kernelError(); kernel = buildKernel2d(opts.weights, opts.kwidth, opts.kheight); } return map((p: number[]) => transduce( map(kernelLookup2d(src, p[0], p[1], width, height, wrap, border)), - add(), + rfn(), kernel ) ); From 794f0b6f07f6eef99f6f244d6c52c1d5de34675f Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 10 Mar 2019 22:23:38 +0000 Subject: [PATCH 32/75] Publish - @thi.ng/adjacency@0.1.5 - @thi.ng/api@5.1.0 - @thi.ng/arrays@0.1.2 - @thi.ng/associative@1.0.9 - @thi.ng/atom@2.0.5 - @thi.ng/bencode@0.2.7 - @thi.ng/bitfield@0.1.2 - @thi.ng/cache@1.0.9 - @thi.ng/color@0.1.11 - @thi.ng/compose@1.2.0 - @thi.ng/csp@1.0.9 - @thi.ng/dcons@2.0.9 - @thi.ng/defmulti@1.0.4 - @thi.ng/dgraph@1.0.9 - @thi.ng/diff@3.0.4 - @thi.ng/dot@1.0.5 - @thi.ng/dsp@1.0.4 - @thi.ng/fsm@2.1.5 - @thi.ng/geom-accel@1.1.7 - @thi.ng/geom-api@0.1.6 - @thi.ng/geom-arc@0.1.7 - @thi.ng/geom-clip@0.0.9 - @thi.ng/geom-closest-point@0.1.7 - @thi.ng/geom-hull@0.0.9 - @thi.ng/geom-isec@0.1.7 - @thi.ng/geom-isoline@0.1.7 - @thi.ng/geom-poly-utils@0.1.7 - @thi.ng/geom-resample@0.1.7 - @thi.ng/geom-splines@0.1.7 - @thi.ng/geom-subdiv-curve@0.1.6 - @thi.ng/geom-tessellate@0.1.7 - @thi.ng/geom-voronoi@0.1.7 - @thi.ng/geom@1.2.12 - @thi.ng/hdom-canvas@2.0.5 - @thi.ng/hdom-components@3.0.9 - @thi.ng/hdom-mock@1.0.6 - @thi.ng/hdom@7.1.3 - @thi.ng/heaps@1.0.5 - @thi.ng/hiccup-carbon-icons@1.0.7 - @thi.ng/hiccup-css@1.0.9 - @thi.ng/hiccup-markdown@1.0.12 - @thi.ng/hiccup-svg@3.1.12 - @thi.ng/hiccup@3.1.2 - @thi.ng/iges@1.0.9 - @thi.ng/interceptors@2.0.5 - @thi.ng/intervals@1.0.4 - @thi.ng/iterators@5.0.9 - @thi.ng/lsys@0.2.3 - @thi.ng/malloc@2.0.4 - @thi.ng/matrices@0.1.10 - @thi.ng/memoize@1.0.4 - @thi.ng/pointfree-lang@1.0.7 - @thi.ng/pointfree@1.0.7 - @thi.ng/poisson@0.2.6 - @thi.ng/random@1.1.2 - @thi.ng/range-coder@1.0.9 - @thi.ng/resolve-map@4.0.5 - @thi.ng/router@1.0.5 - @thi.ng/rstream-csp@1.0.10 - @thi.ng/rstream-dot@1.0.10 - @thi.ng/rstream-gestures@1.0.10 - @thi.ng/rstream-graph@3.0.10 - @thi.ng/rstream-log@2.0.10 - @thi.ng/rstream-query@1.0.10 - @thi.ng/rstream@2.2.2 - @thi.ng/sax@1.0.9 - @thi.ng/sparse@0.1.5 - @thi.ng/strings@1.0.5 - @thi.ng/transducers-binary@0.3.2 - @thi.ng/transducers-fsm@1.0.9 - @thi.ng/transducers-hdom@2.0.10 - @thi.ng/transducers-stats@1.0.9 - @thi.ng/transducers@5.2.0 - @thi.ng/vector-pools@0.2.6 - @thi.ng/vectors@2.4.1 --- packages/adjacency/CHANGELOG.md | 8 +++++ packages/adjacency/package.json | 12 +++---- packages/api/CHANGELOG.md | 12 +++++++ packages/api/package.json | 2 +- packages/arrays/CHANGELOG.md | 8 +++++ packages/arrays/package.json | 6 ++-- packages/associative/CHANGELOG.md | 8 +++++ packages/associative/package.json | 8 ++--- packages/atom/CHANGELOG.md | 8 +++++ packages/atom/package.json | 4 +-- packages/bencode/CHANGELOG.md | 8 +++++ packages/bencode/package.json | 12 +++---- packages/bitfield/CHANGELOG.md | 8 +++++ packages/bitfield/package.json | 6 ++-- packages/cache/CHANGELOG.md | 8 +++++ packages/cache/package.json | 8 ++--- packages/color/CHANGELOG.md | 8 +++++ packages/color/package.json | 14 ++++---- packages/compose/CHANGELOG.md | 12 +++++++ packages/compose/package.json | 4 +-- packages/csp/CHANGELOG.md | 8 +++++ packages/csp/package.json | 10 +++--- packages/dcons/CHANGELOG.md | 8 +++++ packages/dcons/package.json | 6 ++-- packages/defmulti/CHANGELOG.md | 8 +++++ packages/defmulti/package.json | 4 +-- packages/dgraph/CHANGELOG.md | 8 +++++ packages/dgraph/package.json | 8 ++--- packages/diff/CHANGELOG.md | 8 +++++ packages/diff/package.json | 4 +-- packages/dot/CHANGELOG.md | 8 +++++ packages/dot/package.json | 4 +-- packages/dsp/CHANGELOG.md | 8 +++++ packages/dsp/package.json | 4 +-- packages/fsm/CHANGELOG.md | 8 +++++ packages/fsm/package.json | 8 ++--- packages/geom-accel/CHANGELOG.md | 11 ++++++ packages/geom-accel/package.json | 14 ++++---- packages/geom-api/CHANGELOG.md | 8 +++++ packages/geom-api/package.json | 6 ++-- packages/geom-arc/CHANGELOG.md | 8 +++++ packages/geom-arc/package.json | 8 ++--- packages/geom-clip/CHANGELOG.md | 8 +++++ packages/geom-clip/package.json | 8 ++--- packages/geom-closest-point/CHANGELOG.md | 8 +++++ packages/geom-closest-point/package.json | 4 +-- packages/geom-hull/CHANGELOG.md | 8 +++++ packages/geom-hull/package.json | 4 +-- packages/geom-isec/CHANGELOG.md | 8 +++++ packages/geom-isec/package.json | 10 +++--- packages/geom-isoline/CHANGELOG.md | 8 +++++ packages/geom-isoline/package.json | 6 ++-- packages/geom-poly-utils/CHANGELOG.md | 8 +++++ packages/geom-poly-utils/package.json | 6 ++-- packages/geom-resample/CHANGELOG.md | 8 +++++ packages/geom-resample/package.json | 8 ++--- packages/geom-splines/CHANGELOG.md | 8 +++++ packages/geom-splines/package.json | 10 +++--- packages/geom-subdiv-curve/CHANGELOG.md | 8 +++++ packages/geom-subdiv-curve/package.json | 8 ++--- packages/geom-tessellate/CHANGELOG.md | 8 +++++ packages/geom-tessellate/package.json | 12 +++---- packages/geom-voronoi/CHANGELOG.md | 8 +++++ packages/geom-voronoi/package.json | 12 +++---- packages/geom/CHANGELOG.md | 8 +++++ packages/geom/package.json | 44 +++++++++++------------ packages/hdom-canvas/CHANGELOG.md | 8 +++++ packages/hdom-canvas/package.json | 10 +++--- packages/hdom-components/CHANGELOG.md | 8 +++++ packages/hdom-components/package.json | 8 ++--- packages/hdom-mock/CHANGELOG.md | 8 +++++ packages/hdom-mock/package.json | 6 ++-- packages/hdom/CHANGELOG.md | 8 +++++ packages/hdom/package.json | 10 +++--- packages/heaps/CHANGELOG.md | 8 +++++ packages/heaps/package.json | 4 +-- packages/hiccup-carbon-icons/CHANGELOG.md | 8 +++++ packages/hiccup-carbon-icons/package.json | 4 +-- packages/hiccup-css/CHANGELOG.md | 8 +++++ packages/hiccup-css/package.json | 6 ++-- packages/hiccup-markdown/CHANGELOG.md | 8 +++++ packages/hiccup-markdown/package.json | 14 ++++---- packages/hiccup-svg/CHANGELOG.md | 8 +++++ packages/hiccup-svg/package.json | 6 ++-- packages/hiccup/CHANGELOG.md | 8 +++++ packages/hiccup/package.json | 4 +-- packages/iges/CHANGELOG.md | 8 +++++ packages/iges/package.json | 10 +++--- packages/interceptors/CHANGELOG.md | 8 +++++ packages/interceptors/package.json | 6 ++-- packages/intervals/CHANGELOG.md | 8 +++++ packages/intervals/package.json | 4 +-- packages/iterators/CHANGELOG.md | 8 +++++ packages/iterators/package.json | 6 ++-- packages/lsys/CHANGELOG.md | 8 +++++ packages/lsys/package.json | 12 +++---- packages/malloc/CHANGELOG.md | 8 +++++ packages/malloc/package.json | 4 +-- packages/matrices/CHANGELOG.md | 8 +++++ packages/matrices/package.json | 6 ++-- packages/memoize/CHANGELOG.md | 8 +++++ packages/memoize/package.json | 4 +-- packages/pointfree-lang/CHANGELOG.md | 8 +++++ packages/pointfree-lang/package.json | 6 ++-- packages/pointfree/CHANGELOG.md | 8 +++++ packages/pointfree/package.json | 6 ++-- packages/poisson/CHANGELOG.md | 8 +++++ packages/poisson/package.json | 8 ++--- packages/random/CHANGELOG.md | 8 +++++ packages/random/package.json | 4 +-- packages/range-coder/CHANGELOG.md | 8 +++++ packages/range-coder/package.json | 4 +-- packages/resolve-map/CHANGELOG.md | 8 +++++ packages/resolve-map/package.json | 4 +-- packages/router/CHANGELOG.md | 8 +++++ packages/router/package.json | 4 +-- packages/rstream-csp/CHANGELOG.md | 8 +++++ packages/rstream-csp/package.json | 6 ++-- packages/rstream-dot/CHANGELOG.md | 8 +++++ packages/rstream-dot/package.json | 4 +-- packages/rstream-gestures/CHANGELOG.md | 8 +++++ packages/rstream-gestures/package.json | 8 ++--- packages/rstream-graph/CHANGELOG.md | 8 +++++ packages/rstream-graph/package.json | 10 +++--- packages/rstream-log/CHANGELOG.md | 8 +++++ packages/rstream-log/package.json | 8 ++--- packages/rstream-query/CHANGELOG.md | 8 +++++ packages/rstream-query/package.json | 12 +++---- packages/rstream/CHANGELOG.md | 8 +++++ packages/rstream/package.json | 10 +++--- packages/sax/CHANGELOG.md | 8 +++++ packages/sax/package.json | 8 ++--- packages/sparse/CHANGELOG.md | 8 +++++ packages/sparse/package.json | 6 ++-- packages/strings/CHANGELOG.md | 8 +++++ packages/strings/package.json | 4 +-- packages/transducers-binary/CHANGELOG.md | 8 +++++ packages/transducers-binary/package.json | 10 +++--- packages/transducers-fsm/CHANGELOG.md | 8 +++++ packages/transducers-fsm/package.json | 6 ++-- packages/transducers-hdom/CHANGELOG.md | 8 +++++ packages/transducers-hdom/package.json | 8 ++--- packages/transducers-stats/CHANGELOG.md | 8 +++++ packages/transducers-stats/package.json | 6 ++-- packages/transducers/CHANGELOG.md | 11 ++++++ packages/transducers/package.json | 12 +++---- packages/vector-pools/CHANGELOG.md | 8 +++++ packages/vector-pools/package.json | 8 ++--- packages/vectors/CHANGELOG.md | 8 +++++ packages/vectors/package.json | 10 +++--- 150 files changed, 904 insertions(+), 290 deletions(-) diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md index 99db19f748..9bf6f15322 100644 --- a/packages/adjacency/CHANGELOG.md +++ b/packages/adjacency/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.4...@thi.ng/adjacency@0.1.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/adjacency + + + + + ## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.3...@thi.ng/adjacency@0.1.4) (2019-03-03) **Note:** Version bump only for package @thi.ng/adjacency diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json index ebdd21e7f4..68e36973ec 100644 --- a/packages/adjacency/package.json +++ b/packages/adjacency/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/adjacency", - "version": "0.1.4", + "version": "0.1.5", "description": "Sparse & bitwise adjacency matrices for directed / undirected graphs", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/vectors": "^2.4.0", + "@thi.ng/vectors": "^2.4.1", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -33,12 +33,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/binary": "^1.0.3", - "@thi.ng/bitfield": "^0.1.1", + "@thi.ng/bitfield": "^0.1.2", "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.8", - "@thi.ng/sparse": "^0.1.4" + "@thi.ng/dcons": "^2.0.9", + "@thi.ng/sparse": "^0.1.5" }, "keywords": [ "adjacency", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index f70232035b..9e19b2b13f 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@5.0.3...@thi.ng/api@5.1.0) (2019-03-10) + + +### Features + +* **api:** add additional Fn arities ([33c7dfe](https://github.com/thi-ng/umbrella/commit/33c7dfe)) +* **api:** add more Fn type aliases, update existing ([3707e61](https://github.com/thi-ng/umbrella/commit/3707e61)) + + + + + ## [5.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@5.0.2...@thi.ng/api@5.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/api diff --git a/packages/api/package.json b/packages/api/package.json index 8b39950a0f..48b39a86e5 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/api", - "version": "5.0.3", + "version": "5.1.0", "description": "Common, generic types & interfaces for thi.ng projects", "module": "./index.js", "main": "./lib/index.js", diff --git a/packages/arrays/CHANGELOG.md b/packages/arrays/CHANGELOG.md index c30343b9ec..f87f12ba00 100644 --- a/packages/arrays/CHANGELOG.md +++ b/packages/arrays/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.1.1...@thi.ng/arrays@0.1.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/arrays + + + + + ## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.1.0...@thi.ng/arrays@0.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/arrays diff --git a/packages/arrays/package.json b/packages/arrays/package.json index 99de3a24de..426367d6d1 100644 --- a/packages/arrays/package.json +++ b/packages/arrays/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/arrays", - "version": "0.1.1", + "version": "0.1.2", "description": "Array / Arraylike utilities", "module": "./index.js", "main": "./lib/index.js", @@ -32,12 +32,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/compare": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/random": "^1.1.1" + "@thi.ng/random": "^1.1.2" }, "keywords": [ "arrays", diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md index bcc0a03e27..359c970e62 100644 --- a/packages/associative/CHANGELOG.md +++ b/packages/associative/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.8...@thi.ng/associative@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/associative + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.7...@thi.ng/associative@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/associative diff --git a/packages/associative/package.json b/packages/associative/package.json index cd2a405b32..1d3528f2d3 100644 --- a/packages/associative/package.json +++ b/packages/associative/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/associative", - "version": "1.0.8", + "version": "1.0.9", "description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/compare": "^1.0.3", - "@thi.ng/dcons": "^2.0.8", + "@thi.ng/dcons": "^2.0.9", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "data structures", diff --git a/packages/atom/CHANGELOG.md b/packages/atom/CHANGELOG.md index 489c3e91d9..b3ee019380 100644 --- a/packages/atom/CHANGELOG.md +++ b/packages/atom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@2.0.4...@thi.ng/atom@2.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/atom + + + + + ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@2.0.3...@thi.ng/atom@2.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/atom diff --git a/packages/atom/package.json b/packages/atom/package.json index 64d3c87204..d8205de52f 100644 --- a/packages/atom/package.json +++ b/packages/atom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/atom", - "version": "2.0.4", + "version": "2.0.5", "description": "Mutable wrappers for nested immutable values w/ optional undo/redo history", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md index d348b1c084..1824cd3846 100644 --- a/packages/bencode/CHANGELOG.md +++ b/packages/bencode/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.6...@thi.ng/bencode@0.2.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/bencode + + + + + ## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.5...@thi.ng/bencode@0.2.6) (2019-03-05) **Note:** Version bump only for package @thi.ng/bencode diff --git a/packages/bencode/package.json b/packages/bencode/package.json index 51e4003ff6..cef00d0e73 100644 --- a/packages/bencode/package.json +++ b/packages/bencode/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bencode", - "version": "0.2.6", + "version": "0.2.7", "description": "Bencode binary encoder / decoder with optional UTF8 encoding", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/checks": "^2.1.1", - "@thi.ng/defmulti": "^1.0.3", + "@thi.ng/defmulti": "^1.0.4", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/transducers-binary": "^0.3.1" + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/transducers-binary": "^0.3.2" }, "keywords": [ "bencode", diff --git a/packages/bitfield/CHANGELOG.md b/packages/bitfield/CHANGELOG.md index 550c4b51d5..c98c0cfbb5 100644 --- a/packages/bitfield/CHANGELOG.md +++ b/packages/bitfield/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.1.1...@thi.ng/bitfield@0.1.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/bitfield + + + + + ## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.1.0...@thi.ng/bitfield@0.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/bitfield diff --git a/packages/bitfield/package.json b/packages/bitfield/package.json index 6da98046a2..b927d7dc81 100644 --- a/packages/bitfield/package.json +++ b/packages/bitfield/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bitfield", - "version": "0.1.1", + "version": "0.1.2", "description": "1D / 2D bit field implementations", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/binary": "^1.0.3", - "@thi.ng/strings": "^1.0.4" + "@thi.ng/strings": "^1.0.5" }, "keywords": [ "1D", diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 153a8af0ac..8f153e522b 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.8...@thi.ng/cache@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/cache + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.7...@thi.ng/cache@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 1564f33bdb..170f102345 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/cache", - "version": "1.0.8", + "version": "1.0.9", "description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/dcons": "^2.0.8", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/api": "^5.1.0", + "@thi.ng/dcons": "^2.0.9", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "cache", diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md index 1f27cfb90b..428c3db3ff 100644 --- a/packages/color/CHANGELOG.md +++ b/packages/color/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.10...@thi.ng/color@0.1.11) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/color + + + + + ## [0.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.9...@thi.ng/color@0.1.10) (2019-03-04) diff --git a/packages/color/package.json b/packages/color/package.json index efb7c85059..c7908f1de2 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/color", - "version": "0.1.10", + "version": "0.1.11", "description": "Raw, array-based, color ops, conversions, opt. type wrappers, multi-color gradients", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/compose": "^1.1.2", - "@thi.ng/defmulti": "^1.0.3", + "@thi.ng/api": "^5.1.0", + "@thi.ng/compose": "^1.2.0", + "@thi.ng/defmulti": "^1.0.4", "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", - "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/strings": "^1.0.5", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "alpha", diff --git a/packages/compose/CHANGELOG.md b/packages/compose/CHANGELOG.md index a665b5adf1..eb47f59714 100644 --- a/packages/compose/CHANGELOG.md +++ b/packages/compose/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.1.2...@thi.ng/compose@1.2.0) (2019-03-10) + + +### Features + +* **compose:** add complement() ([5a5a2d1](https://github.com/thi-ng/umbrella/commit/5a5a2d1)) +* **compose:** add trampoline() ([9e4c171](https://github.com/thi-ng/umbrella/commit/9e4c171)) + + + + + ## [1.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.1.1...@thi.ng/compose@1.1.2) (2019-03-01) **Note:** Version bump only for package @thi.ng/compose diff --git a/packages/compose/package.json b/packages/compose/package.json index e069567b0b..42e4eca58e 100644 --- a/packages/compose/package.json +++ b/packages/compose/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/compose", - "version": "1.1.2", + "version": "1.2.0", "description": "Arity-optimized functional composition helpers", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md index 6e31a26e3e..265b903495 100644 --- a/packages/csp/CHANGELOG.md +++ b/packages/csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.8...@thi.ng/csp@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/csp + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.7...@thi.ng/csp@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/csp diff --git a/packages/csp/package.json b/packages/csp/package.json index 1b3b9dfb8f..3da6fbf81e 100644 --- a/packages/csp/package.json +++ b/packages/csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/csp", - "version": "1.0.8", + "version": "1.0.9", "description": "ES6 promise based CSP implementation", "module": "./index.js", "main": "./lib/index.js", @@ -36,12 +36,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.8", + "@thi.ng/dcons": "^2.0.9", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "async", diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md index 457edcbe62..5eb93d862d 100644 --- a/packages/dcons/CHANGELOG.md +++ b/packages/dcons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.8...@thi.ng/dcons@2.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/dcons + + + + + ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.7...@thi.ng/dcons@2.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/dcons diff --git a/packages/dcons/package.json b/packages/dcons/package.json index dc560308e8..3bf30bb2eb 100644 --- a/packages/dcons/package.json +++ b/packages/dcons/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dcons", - "version": "2.0.8", + "version": "2.0.9", "description": "Comprehensive doubly linked list structure w/ iterator support", "module": "./index.js", "main": "./lib/index.js", @@ -32,12 +32,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/compare": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "datastructure", diff --git a/packages/defmulti/CHANGELOG.md b/packages/defmulti/CHANGELOG.md index afe6129e30..5b8c91bd58 100644 --- a/packages/defmulti/CHANGELOG.md +++ b/packages/defmulti/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.0.3...@thi.ng/defmulti@1.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/defmulti + + + + + ## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.0.2...@thi.ng/defmulti@1.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/defmulti diff --git a/packages/defmulti/package.json b/packages/defmulti/package.json index 56bc011f05..5a9a51486e 100644 --- a/packages/defmulti/package.json +++ b/packages/defmulti/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/defmulti", - "version": "1.0.3", + "version": "1.0.4", "description": "Dynamically extensible multiple dispatch via user supplied dispatch function.", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md index a0dde25683..3479d014fc 100644 --- a/packages/dgraph/CHANGELOG.md +++ b/packages/dgraph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.8...@thi.ng/dgraph@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/dgraph + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.7...@thi.ng/dgraph@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/dgraph diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json index 6b11e4bf10..868adf576a 100644 --- a/packages/dgraph/package.json +++ b/packages/dgraph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dgraph", - "version": "1.0.8", + "version": "1.0.9", "description": "Type-agnostic directed acyclic graph (DAG) & graph operations", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.8", + "@thi.ng/api": "^5.1.0", + "@thi.ng/associative": "^1.0.9", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "data structure", diff --git a/packages/diff/CHANGELOG.md b/packages/diff/CHANGELOG.md index a20c88509d..f7b1685445 100644 --- a/packages/diff/CHANGELOG.md +++ b/packages/diff/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@3.0.3...@thi.ng/diff@3.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/diff + + + + + ## [3.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@3.0.2...@thi.ng/diff@3.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/diff diff --git a/packages/diff/package.json b/packages/diff/package.json index ca57debfdc..392237a3ae 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/diff", - "version": "3.0.3", + "version": "3.0.4", "description": "Array & object Diff", "module": "./index.js", "main": "./lib/index.js", @@ -31,7 +31,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/equiv": "^1.0.3" }, "keywords": [ diff --git a/packages/dot/CHANGELOG.md b/packages/dot/CHANGELOG.md index e5b3fca643..a003a334a7 100644 --- a/packages/dot/CHANGELOG.md +++ b/packages/dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.0.4...@thi.ng/dot@1.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/dot + + + + + ## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.0.3...@thi.ng/dot@1.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/dot diff --git a/packages/dot/package.json b/packages/dot/package.json index 0a64abcaa6..d727fd9dc1 100644 --- a/packages/dot/package.json +++ b/packages/dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dot", - "version": "1.0.4", + "version": "1.0.5", "description": "Graphviz DOM abstraction as vanilla JS objects & serialization to DOT format", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1" }, "keywords": [ diff --git a/packages/dsp/CHANGELOG.md b/packages/dsp/CHANGELOG.md index 8386511389..9b409d4b05 100644 --- a/packages/dsp/CHANGELOG.md +++ b/packages/dsp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@1.0.3...@thi.ng/dsp@1.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/dsp + + + + + ## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@1.0.2...@thi.ng/dsp@1.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/dsp diff --git a/packages/dsp/package.json b/packages/dsp/package.json index 8c081f2648..8c61ca17b1 100644 --- a/packages/dsp/package.json +++ b/packages/dsp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dsp", - "version": "1.0.3", + "version": "1.0.4", "description": "Assorted DSP utils, oscillators etc.", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/math": "^1.1.1" }, "keywords": [ diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md index 021d532dd2..278df8135b 100644 --- a/packages/fsm/CHANGELOG.md +++ b/packages/fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.4...@thi.ng/fsm@2.1.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/fsm + + + + + ## [2.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.3...@thi.ng/fsm@2.1.4) (2019-03-03) **Note:** Version bump only for package @thi.ng/fsm diff --git a/packages/fsm/package.json b/packages/fsm/package.json index 968d0c526f..d495809d72 100644 --- a/packages/fsm/package.json +++ b/packages/fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/fsm", - "version": "2.1.4", + "version": "2.1.5", "description": "Composable primitives for building declarative, transducer based Finite-State machines & parsers for arbitrary data streams", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "ES6", diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md index a1c5e084f4..fc724e8ddf 100644 --- a/packages/geom-accel/CHANGELOG.md +++ b/packages/geom-accel/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.6...@thi.ng/geom-accel@1.1.7) (2019-03-10) + + +### Bug Fixes + +* **geom-accel:** fix/update existing point search in add()/select*() ([8186f12](https://github.com/thi-ng/umbrella/commit/8186f12)) + + + + + ## [1.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.5...@thi.ng/geom-accel@1.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-accel diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json index 7c4d84053a..bde66637b7 100644 --- a/packages/geom-accel/package.json +++ b/packages/geom-accel/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-accel", - "version": "1.1.6", + "version": "1.1.7", "description": "nD spatial indexing data structures", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/heaps": "^1.0.4", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/heaps": "^1.0.5", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md index 67c3fd5acb..ef6ebf5b46 100644 --- a/packages/geom-api/CHANGELOG.md +++ b/packages/geom-api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.5...@thi.ng/geom-api@0.1.6) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-api + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.4...@thi.ng/geom-api@0.1.5) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-api diff --git a/packages/geom-api/package.json b/packages/geom-api/package.json index 5f24d1bdbf..a78a4215ba 100644 --- a/packages/geom-api/package.json +++ b/packages/geom-api/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-api", - "version": "0.1.5", + "version": "0.1.6", "description": "Shared type & interface declarations for @thi.ng/geom packages", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/api": "^5.1.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "ES6", diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md index a051db4706..69c7f15a12 100644 --- a/packages/geom-arc/CHANGELOG.md +++ b/packages/geom-arc/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.6...@thi.ng/geom-arc@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-arc + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.5...@thi.ng/geom-arc@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-arc diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json index 63c9b2ec88..bcf1fc015a 100644 --- a/packages/geom-arc/package.json +++ b/packages/geom-arc/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-arc", - "version": "0.1.6", + "version": "0.1.7", "description": "2D circular / elliptic arc operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-resample": "^0.1.6", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-resample": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-clip/CHANGELOG.md b/packages/geom-clip/CHANGELOG.md index fb146f1d86..0ea0707bfa 100644 --- a/packages/geom-clip/CHANGELOG.md +++ b/packages/geom-clip/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.8...@thi.ng/geom-clip@0.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-clip + + + + + ## [0.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.7...@thi.ng/geom-clip@0.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-clip diff --git a/packages/geom-clip/package.json b/packages/geom-clip/package.json index 9ad75f37a9..5b2906a3a7 100644 --- a/packages/geom-clip/package.json +++ b/packages/geom-clip/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-clip", - "version": "0.0.8", + "version": "0.0.9", "description": "2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-isec": "^0.1.6", - "@thi.ng/geom-poly-utils": "^0.1.6", + "@thi.ng/geom-isec": "^0.1.7", + "@thi.ng/geom-poly-utils": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md index 398227c1e0..94c402cdc9 100644 --- a/packages/geom-closest-point/CHANGELOG.md +++ b/packages/geom-closest-point/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.6...@thi.ng/geom-closest-point@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-closest-point + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.5...@thi.ng/geom-closest-point@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-closest-point diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json index dad2ead5ed..93de98ca10 100644 --- a/packages/geom-closest-point/package.json +++ b/packages/geom-closest-point/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-closest-point", - "version": "0.1.6", + "version": "0.1.7", "description": "Closest point / proximity helpers", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "ES6", diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md index bf3f3fbf04..545da6d3c7 100644 --- a/packages/geom-hull/CHANGELOG.md +++ b/packages/geom-hull/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.8...@thi.ng/geom-hull@0.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-hull + + + + + ## [0.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.7...@thi.ng/geom-hull@0.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-hull diff --git a/packages/geom-hull/package.json b/packages/geom-hull/package.json index de9758a236..34df14fec4 100644 --- a/packages/geom-hull/package.json +++ b/packages/geom-hull/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-hull", - "version": "0.0.8", + "version": "0.0.9", "description": "Fast 2D convex hull (Graham Scan)", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md index 64b4515733..d9440521b5 100644 --- a/packages/geom-isec/CHANGELOG.md +++ b/packages/geom-isec/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.6...@thi.ng/geom-isec@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-isec + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.5...@thi.ng/geom-isec@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-isec diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json index 844e1b3a5c..e483289641 100644 --- a/packages/geom-isec/package.json +++ b/packages/geom-isec/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isec", - "version": "0.1.6", + "version": "0.1.7", "description": "2D/3D shape intersection checks", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-closest-point": "^0.1.6", + "@thi.ng/api": "^5.1.0", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-closest-point": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md index b77e45ed5f..36d77811ee 100644 --- a/packages/geom-isoline/CHANGELOG.md +++ b/packages/geom-isoline/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.6...@thi.ng/geom-isoline@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-isoline + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.5...@thi.ng/geom-isoline@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-isoline diff --git a/packages/geom-isoline/package.json b/packages/geom-isoline/package.json index 0815d941a9..5aa1de7227 100644 --- a/packages/geom-isoline/package.json +++ b/packages/geom-isoline/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isoline", - "version": "0.1.6", + "version": "0.1.7", "description": "Fast 2D contour line extraction / generation", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md index d43ec5a67a..06882bce8c 100644 --- a/packages/geom-poly-utils/CHANGELOG.md +++ b/packages/geom-poly-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.6...@thi.ng/geom-poly-utils@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-poly-utils + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.5...@thi.ng/geom-poly-utils@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-poly-utils diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json index b77e504dc2..eed362cb2b 100644 --- a/packages/geom-poly-utils/package.json +++ b/packages/geom-poly-utils/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-poly-utils", - "version": "0.1.6", + "version": "0.1.7", "description": "Polygon / triangle analysis & processing utilities", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.5", + "@thi.ng/geom-api": "^0.1.6", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md index 65b99b0cd4..7347981644 100644 --- a/packages/geom-resample/CHANGELOG.md +++ b/packages/geom-resample/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.6...@thi.ng/geom-resample@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-resample + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.5...@thi.ng/geom-resample@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-resample diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json index 1859f5b341..37afced1a5 100644 --- a/packages/geom-resample/package.json +++ b/packages/geom-resample/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-resample", - "version": "0.1.6", + "version": "0.1.7", "description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-closest-point": "^0.1.6", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-closest-point": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md index d5b9a2c835..65dd4d5b7e 100644 --- a/packages/geom-splines/CHANGELOG.md +++ b/packages/geom-splines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.6...@thi.ng/geom-splines@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-splines + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.5...@thi.ng/geom-splines@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-splines diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json index 4afb0e3db0..f448733599 100644 --- a/packages/geom-splines/package.json +++ b/packages/geom-splines/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-splines", - "version": "0.1.6", + "version": "0.1.7", "description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting", "module": "./index.js", "main": "./lib/index.js", @@ -33,11 +33,11 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-arc": "^0.1.6", - "@thi.ng/geom-resample": "^0.1.6", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-arc": "^0.1.7", + "@thi.ng/geom-resample": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md index 8c7391f6d5..ce1758c091 100644 --- a/packages/geom-subdiv-curve/CHANGELOG.md +++ b/packages/geom-subdiv-curve/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.5...@thi.ng/geom-subdiv-curve@0.1.6) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-subdiv-curve + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.4...@thi.ng/geom-subdiv-curve@0.1.5) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-subdiv-curve diff --git a/packages/geom-subdiv-curve/package.json b/packages/geom-subdiv-curve/package.json index ea2846f6a2..b7938b9bc1 100644 --- a/packages/geom-subdiv-curve/package.json +++ b/packages/geom-subdiv-curve/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-subdiv-curve", - "version": "0.1.5", + "version": "0.1.6", "description": "Freely customizable, iterative subdivision curves for open / closed input geometries", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md index bea8f53022..185f39a028 100644 --- a/packages/geom-tessellate/CHANGELOG.md +++ b/packages/geom-tessellate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.6...@thi.ng/geom-tessellate@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-tessellate + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.5...@thi.ng/geom-tessellate@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-tessellate diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json index 94af0bf15c..26833a3044 100644 --- a/packages/geom-tessellate/package.json +++ b/packages/geom-tessellate/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-tessellate", - "version": "0.1.6", + "version": "0.1.7", "description": "2D/3D polygon tessellators", "module": "./index.js", "main": "./lib/index.js", @@ -33,11 +33,11 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-isec": "^0.1.6", - "@thi.ng/geom-poly-utils": "^0.1.6", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-isec": "^0.1.7", + "@thi.ng/geom-poly-utils": "^0.1.7", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md index 58659ef84b..0a6ef19d23 100644 --- a/packages/geom-voronoi/CHANGELOG.md +++ b/packages/geom-voronoi/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.6...@thi.ng/geom-voronoi@0.1.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom-voronoi + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.5...@thi.ng/geom-voronoi@0.1.6) (2019-03-03) **Note:** Version bump only for package @thi.ng/geom-voronoi diff --git a/packages/geom-voronoi/package.json b/packages/geom-voronoi/package.json index 983e540d08..62f4d7f47a 100644 --- a/packages/geom-voronoi/package.json +++ b/packages/geom-voronoi/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-voronoi", - "version": "0.1.6", + "version": "0.1.7", "description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-clip": "^0.0.8", - "@thi.ng/geom-isec": "^0.1.6", - "@thi.ng/geom-poly-utils": "^0.1.6", + "@thi.ng/geom-clip": "^0.0.9", + "@thi.ng/geom-isec": "^0.1.7", + "@thi.ng/geom-poly-utils": "^0.1.7", "@thi.ng/math": "^1.1.1", "@thi.ng/quad-edge": "^0.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md index 98fbbcfd31..55db7025ed 100644 --- a/packages/geom/CHANGELOG.md +++ b/packages/geom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.11...@thi.ng/geom@1.2.12) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/geom + + + + + ## [1.2.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.10...@thi.ng/geom@1.2.11) (2019-03-04) **Note:** Version bump only for package @thi.ng/geom diff --git a/packages/geom/package.json b/packages/geom/package.json index 1060f878c8..470bf0b32f 100644 --- a/packages/geom/package.json +++ b/packages/geom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom", - "version": "1.2.11", + "version": "1.2.12", "description": "2D geometry types, polymorphic operations, SVG generation", "module": "./index.js", "main": "./lib/index.js", @@ -32,31 +32,31 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/checks": "^2.1.1", - "@thi.ng/compose": "^1.1.2", - "@thi.ng/defmulti": "^1.0.3", + "@thi.ng/compose": "^1.2.0", + "@thi.ng/defmulti": "^1.0.4", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/geom-arc": "^0.1.6", - "@thi.ng/geom-clip": "^0.0.8", - "@thi.ng/geom-closest-point": "^0.1.6", - "@thi.ng/geom-hull": "^0.0.8", - "@thi.ng/geom-isec": "^0.1.6", - "@thi.ng/geom-poly-utils": "^0.1.6", - "@thi.ng/geom-resample": "^0.1.6", - "@thi.ng/geom-splines": "^0.1.6", - "@thi.ng/geom-subdiv-curve": "^0.1.5", - "@thi.ng/geom-tessellate": "^0.1.6", - "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/hiccup-svg": "^3.1.11", + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-arc": "^0.1.7", + "@thi.ng/geom-clip": "^0.0.9", + "@thi.ng/geom-closest-point": "^0.1.7", + "@thi.ng/geom-hull": "^0.0.9", + "@thi.ng/geom-isec": "^0.1.7", + "@thi.ng/geom-poly-utils": "^0.1.7", + "@thi.ng/geom-resample": "^0.1.7", + "@thi.ng/geom-splines": "^0.1.7", + "@thi.ng/geom-subdiv-curve": "^0.1.6", + "@thi.ng/geom-tessellate": "^0.1.7", + "@thi.ng/hiccup": "^3.1.2", + "@thi.ng/hiccup-svg": "^3.1.12", "@thi.ng/math": "^1.1.1", - "@thi.ng/matrices": "^0.1.9", - "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/matrices": "^0.1.10", + "@thi.ng/random": "^1.1.2", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md index b67ca420b2..0016817641 100644 --- a/packages/hdom-canvas/CHANGELOG.md +++ b/packages/hdom-canvas/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.4...@thi.ng/hdom-canvas@2.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hdom-canvas + + + + + ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.3...@thi.ng/hdom-canvas@2.0.4) (2019-03-04) **Note:** Version bump only for package @thi.ng/hdom-canvas diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json index e2b068bf8a..02b5d48240 100644 --- a/packages/hdom-canvas/package.json +++ b/packages/hdom-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-canvas", - "version": "2.0.4", + "version": "2.0.5", "description": "Declarative canvas scenegraph & visualization for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.10", - "@thi.ng/diff": "^3.0.3", - "@thi.ng/hdom": "^7.1.2" + "@thi.ng/color": "^0.1.11", + "@thi.ng/diff": "^3.0.4", + "@thi.ng/hdom": "^7.1.3" }, "keywords": [ "ES6", diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md index ec7031380a..d0b93e54b5 100644 --- a/packages/hdom-components/CHANGELOG.md +++ b/packages/hdom-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.8...@thi.ng/hdom-components@3.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hdom-components + + + + + ## [3.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.7...@thi.ng/hdom-components@3.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/hdom-components diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json index 3044f7cb55..b656ea5270 100644 --- a/packages/hdom-components/package.json +++ b/packages/hdom-components/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-components", - "version": "3.0.8", + "version": "3.0.9", "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/transducers-stats": "^1.0.8", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/transducers-stats": "^1.0.9", "@types/webgl2": "^0.0.4" }, "keywords": [ diff --git a/packages/hdom-mock/CHANGELOG.md b/packages/hdom-mock/CHANGELOG.md index 4a1abfc226..a9397e46f9 100644 --- a/packages/hdom-mock/CHANGELOG.md +++ b/packages/hdom-mock/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.5...@thi.ng/hdom-mock@1.0.6) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hdom-mock + + + + + ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.4...@thi.ng/hdom-mock@1.0.5) (2019-03-01) **Note:** Version bump only for package @thi.ng/hdom-mock diff --git a/packages/hdom-mock/package.json b/packages/hdom-mock/package.json index 472832a2eb..562fab133a 100644 --- a/packages/hdom-mock/package.json +++ b/packages/hdom-mock/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-mock", - "version": "1.0.5", + "version": "1.0.6", "description": "Mock base implementation for @thi.ng/hdom API", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", - "@thi.ng/hdom": "^7.1.2" + "@thi.ng/hdom": "^7.1.3" }, "keywords": [ "ES6", diff --git a/packages/hdom/CHANGELOG.md b/packages/hdom/CHANGELOG.md index 9d98f40618..6bb659e4a4 100644 --- a/packages/hdom/CHANGELOG.md +++ b/packages/hdom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.1.2...@thi.ng/hdom@7.1.3) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hdom + + + + + ## [7.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.1.1...@thi.ng/hdom@7.1.2) (2019-03-01) **Note:** Version bump only for package @thi.ng/hdom diff --git a/packages/hdom/package.json b/packages/hdom/package.json index a265774cc0..636aaf41cc 100644 --- a/packages/hdom/package.json +++ b/packages/hdom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom", - "version": "7.1.2", + "version": "7.1.3", "description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/atom": "^2.0.4", + "@thi.ng/atom": "^2.0.5", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -33,12 +33,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", - "@thi.ng/diff": "^3.0.3", + "@thi.ng/diff": "^3.0.4", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/hiccup": "^3.1.1" + "@thi.ng/hiccup": "^3.1.2" }, "keywords": [ "browser", diff --git a/packages/heaps/CHANGELOG.md b/packages/heaps/CHANGELOG.md index 2e9899c7ad..efd615732f 100644 --- a/packages/heaps/CHANGELOG.md +++ b/packages/heaps/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.0.4...@thi.ng/heaps@1.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/heaps + + + + + ## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.0.3...@thi.ng/heaps@1.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/heaps diff --git a/packages/heaps/package.json b/packages/heaps/package.json index 3fa1f3d12f..64a3deac0a 100644 --- a/packages/heaps/package.json +++ b/packages/heaps/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/heaps", - "version": "1.0.4", + "version": "1.0.5", "description": "Generic binary heap & d-ary heap implementations with customizable ordering", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/compare": "^1.0.3" }, "keywords": [ diff --git a/packages/hiccup-carbon-icons/CHANGELOG.md b/packages/hiccup-carbon-icons/CHANGELOG.md index 6a5d0de5e5..6d5fda7fa0 100644 --- a/packages/hiccup-carbon-icons/CHANGELOG.md +++ b/packages/hiccup-carbon-icons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.6...@thi.ng/hiccup-carbon-icons@1.0.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons + + + + + ## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.5...@thi.ng/hiccup-carbon-icons@1.0.6) (2019-03-01) **Note:** Version bump only for package @thi.ng/hiccup-carbon-icons diff --git a/packages/hiccup-carbon-icons/package.json b/packages/hiccup-carbon-icons/package.json index 63351c7b63..a98d148213 100644 --- a/packages/hiccup-carbon-icons/package.json +++ b/packages/hiccup-carbon-icons/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-carbon-icons", - "version": "1.0.6", + "version": "1.0.7", "description": "Full set of IBM's Carbon icons in hiccup format", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/hiccup": "^3.1.1", + "@thi.ng/hiccup": "^3.1.2", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md index b83f01e9f6..edb4105cbf 100644 --- a/packages/hiccup-css/CHANGELOG.md +++ b/packages/hiccup-css/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.8...@thi.ng/hiccup-css@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hiccup-css + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.7...@thi.ng/hiccup-css@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/hiccup-css diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json index db6ee1e433..9ebaa83e10 100644 --- a/packages/hiccup-css/package.json +++ b/packages/hiccup-css/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-css", - "version": "1.0.8", + "version": "1.0.9", "description": "CSS from nested JS data structures", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "clojure", diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md index 454a3440a3..cac959ac7e 100644 --- a/packages/hiccup-markdown/CHANGELOG.md +++ b/packages/hiccup-markdown/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.11...@thi.ng/hiccup-markdown@1.0.12) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hiccup-markdown + + + + + ## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.10...@thi.ng/hiccup-markdown@1.0.11) (2019-03-03) **Note:** Version bump only for package @thi.ng/hiccup-markdown diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json index 6a5a207947..ca1f6d282e 100644 --- a/packages/hiccup-markdown/package.json +++ b/packages/hiccup-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-markdown", - "version": "1.0.11", + "version": "1.0.12", "description": "Markdown serialization of hiccup DOM trees", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/checks": "^2.1.1", - "@thi.ng/defmulti": "^1.0.3", + "@thi.ng/defmulti": "^1.0.4", "@thi.ng/errors": "^1.0.3", - "@thi.ng/fsm": "^2.1.4", - "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/fsm": "^2.1.5", + "@thi.ng/hiccup": "^3.1.2", + "@thi.ng/strings": "^1.0.5", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "ES6", diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md index 8cbadcd4fd..dc1d141e09 100644 --- a/packages/hiccup-svg/CHANGELOG.md +++ b/packages/hiccup-svg/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.11...@thi.ng/hiccup-svg@3.1.12) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hiccup-svg + + + + + ## [3.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.10...@thi.ng/hiccup-svg@3.1.11) (2019-03-04) **Note:** Version bump only for package @thi.ng/hiccup-svg diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json index b7d4cfb87a..a188f56993 100644 --- a/packages/hiccup-svg/package.json +++ b/packages/hiccup-svg/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-svg", - "version": "3.1.11", + "version": "3.1.12", "description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.10", - "@thi.ng/hiccup": "^3.1.1" + "@thi.ng/color": "^0.1.11", + "@thi.ng/hiccup": "^3.1.2" }, "keywords": [ "components", diff --git a/packages/hiccup/CHANGELOG.md b/packages/hiccup/CHANGELOG.md index 5f463accc0..75353a2ebe 100644 --- a/packages/hiccup/CHANGELOG.md +++ b/packages/hiccup/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.1.1...@thi.ng/hiccup@3.1.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/hiccup + + + + + ## [3.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.1.0...@thi.ng/hiccup@3.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/hiccup diff --git a/packages/hiccup/package.json b/packages/hiccup/package.json index a56c3b3f84..db81422559 100644 --- a/packages/hiccup/package.json +++ b/packages/hiccup/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup", - "version": "3.1.1", + "version": "3.1.2", "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/atom": "^2.0.4", + "@thi.ng/atom": "^2.0.5", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/iges/CHANGELOG.md b/packages/iges/CHANGELOG.md index dbf3b04724..b1c79f2688 100644 --- a/packages/iges/CHANGELOG.md +++ b/packages/iges/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.8...@thi.ng/iges@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/iges + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.7...@thi.ng/iges@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/iges diff --git a/packages/iges/package.json b/packages/iges/package.json index 58e3c01d8f..8c053d13af 100644 --- a/packages/iges/package.json +++ b/packages/iges/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iges", - "version": "1.0.8", + "version": "1.0.9", "description": "IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/defmulti": "^1.0.3", - "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/api": "^5.1.0", + "@thi.ng/defmulti": "^1.0.4", + "@thi.ng/strings": "^1.0.5", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "CAD", diff --git a/packages/interceptors/CHANGELOG.md b/packages/interceptors/CHANGELOG.md index f2cd4105b3..d6848380d3 100644 --- a/packages/interceptors/CHANGELOG.md +++ b/packages/interceptors/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.4...@thi.ng/interceptors@2.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/interceptors + + + + + ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.3...@thi.ng/interceptors@2.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/interceptors diff --git a/packages/interceptors/package.json b/packages/interceptors/package.json index 7807392148..4706c6386b 100644 --- a/packages/interceptors/package.json +++ b/packages/interceptors/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/interceptors", - "version": "2.0.4", + "version": "2.0.5", "description": "Interceptor based event bus, side effect & immutable state handling", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/atom": "^2.0.4", + "@thi.ng/api": "^5.1.0", + "@thi.ng/atom": "^2.0.5", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4" diff --git a/packages/intervals/CHANGELOG.md b/packages/intervals/CHANGELOG.md index b700d3e929..3c49463dfb 100644 --- a/packages/intervals/CHANGELOG.md +++ b/packages/intervals/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@1.0.3...@thi.ng/intervals@1.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/intervals + + + + + ## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@1.0.2...@thi.ng/intervals@1.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/intervals diff --git a/packages/intervals/package.json b/packages/intervals/package.json index 130b4ca3aa..84807a9804 100644 --- a/packages/intervals/package.json +++ b/packages/intervals/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/intervals", - "version": "1.0.3", + "version": "1.0.4", "description": "Closed/open/semi-open interval data type, queries & operations", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/iterators/CHANGELOG.md b/packages/iterators/CHANGELOG.md index 9694fcc28d..4d65c084e9 100644 --- a/packages/iterators/CHANGELOG.md +++ b/packages/iterators/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.8...@thi.ng/iterators@5.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/iterators + + + + + ## [5.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.7...@thi.ng/iterators@5.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/iterators diff --git a/packages/iterators/package.json b/packages/iterators/package.json index 752fbbe9e0..1a9e51c972 100644 --- a/packages/iterators/package.json +++ b/packages/iterators/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iterators", - "version": "5.0.8", + "version": "5.0.9", "description": "clojure.core inspired, composable ES6 iterators & generators", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/dcons": "^2.0.8", + "@thi.ng/api": "^5.1.0", + "@thi.ng/dcons": "^2.0.9", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/lsys/CHANGELOG.md b/packages/lsys/CHANGELOG.md index 3be6172a42..9a4598fc92 100644 --- a/packages/lsys/CHANGELOG.md +++ b/packages/lsys/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.2...@thi.ng/lsys@0.2.3) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/lsys + + + + + ## [0.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.1...@thi.ng/lsys@0.2.2) (2019-03-03) **Note:** Version bump only for package @thi.ng/lsys diff --git a/packages/lsys/package.json b/packages/lsys/package.json index 3edc5b611c..b9a19a9bbc 100644 --- a/packages/lsys/package.json +++ b/packages/lsys/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/lsys", - "version": "0.2.2", + "version": "0.2.3", "description": "TODO", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/compose": "^1.1.2", + "@thi.ng/api": "^5.1.0", + "@thi.ng/compose": "^1.2.0", "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", - "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/random": "^1.1.2", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "ES6", diff --git a/packages/malloc/CHANGELOG.md b/packages/malloc/CHANGELOG.md index d9be81d13e..7124f0a49e 100644 --- a/packages/malloc/CHANGELOG.md +++ b/packages/malloc/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@2.0.3...@thi.ng/malloc@2.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/malloc + + + + + ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@2.0.2...@thi.ng/malloc@2.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/malloc diff --git a/packages/malloc/package.json b/packages/malloc/package.json index adc06f1f27..8219dcec3d 100644 --- a/packages/malloc/package.json +++ b/packages/malloc/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/malloc", - "version": "2.0.3", + "version": "2.0.4", "description": "ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/binary": "^1.0.3", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3" diff --git a/packages/matrices/CHANGELOG.md b/packages/matrices/CHANGELOG.md index 9a7c3f6cf2..32b9a5f433 100644 --- a/packages/matrices/CHANGELOG.md +++ b/packages/matrices/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.9...@thi.ng/matrices@0.1.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/matrices + + + + + ## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.8...@thi.ng/matrices@0.1.9) (2019-03-03) **Note:** Version bump only for package @thi.ng/matrices diff --git a/packages/matrices/package.json b/packages/matrices/package.json index ead72fdd1a..3d70c034e8 100644 --- a/packages/matrices/package.json +++ b/packages/matrices/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/matrices", - "version": "0.1.9", + "version": "0.1.10", "description": "Matrix & quaternion operations for 2D/3D geometry processing", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2D", diff --git a/packages/memoize/CHANGELOG.md b/packages/memoize/CHANGELOG.md index 0c517f68cd..159752cad8 100644 --- a/packages/memoize/CHANGELOG.md +++ b/packages/memoize/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.0.3...@thi.ng/memoize@1.0.4) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/memoize + + + + + ## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.0.2...@thi.ng/memoize@1.0.3) (2019-03-01) **Note:** Version bump only for package @thi.ng/memoize diff --git a/packages/memoize/package.json b/packages/memoize/package.json index 0b094edefa..504640936e 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/memoize", - "version": "1.0.3", + "version": "1.0.4", "description": "Function memoization with configurable caches", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3" + "@thi.ng/api": "^5.1.0" }, "keywords": [ "cache", diff --git a/packages/pointfree-lang/CHANGELOG.md b/packages/pointfree-lang/CHANGELOG.md index 612f282f18..01bec9addf 100644 --- a/packages/pointfree-lang/CHANGELOG.md +++ b/packages/pointfree-lang/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.0.6...@thi.ng/pointfree-lang@1.0.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/pointfree-lang + + + + + ## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.0.5...@thi.ng/pointfree-lang@1.0.6) (2019-03-01) **Note:** Version bump only for package @thi.ng/pointfree-lang diff --git a/packages/pointfree-lang/package.json b/packages/pointfree-lang/package.json index aa79577851..8d4be8ba41 100644 --- a/packages/pointfree-lang/package.json +++ b/packages/pointfree-lang/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/pointfree-lang", - "version": "1.0.6", + "version": "1.0.7", "description": "Forth style syntax layer/compiler for the @thi.ng/pointfree DSL", "module": "./index.js", "main": "./lib/index.js", @@ -34,9 +34,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/errors": "^1.0.3", - "@thi.ng/pointfree": "^1.0.6" + "@thi.ng/pointfree": "^1.0.7" }, "keywords": [ "concatenative", diff --git a/packages/pointfree/CHANGELOG.md b/packages/pointfree/CHANGELOG.md index b8b57dd9ef..c4edc806d6 100644 --- a/packages/pointfree/CHANGELOG.md +++ b/packages/pointfree/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.0.6...@thi.ng/pointfree@1.0.7) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/pointfree + + + + + ## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.0.5...@thi.ng/pointfree@1.0.6) (2019-03-01) **Note:** Version bump only for package @thi.ng/pointfree diff --git a/packages/pointfree/package.json b/packages/pointfree/package.json index 082a80c62e..6443b5aaed 100644 --- a/packages/pointfree/package.json +++ b/packages/pointfree/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/pointfree", - "version": "1.0.6", + "version": "1.0.7", "description": "Pointfree functional composition / Forth style stack execution engine", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", - "@thi.ng/compose": "^1.1.2", + "@thi.ng/compose": "^1.2.0", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3" }, diff --git a/packages/poisson/CHANGELOG.md b/packages/poisson/CHANGELOG.md index da7f56c791..0ea16c1618 100644 --- a/packages/poisson/CHANGELOG.md +++ b/packages/poisson/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.5...@thi.ng/poisson@0.2.6) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/poisson + + + + + ## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.4...@thi.ng/poisson@0.2.5) (2019-03-03) **Note:** Version bump only for package @thi.ng/poisson diff --git a/packages/poisson/package.json b/packages/poisson/package.json index eaea68290d..909af92c7b 100644 --- a/packages/poisson/package.json +++ b/packages/poisson/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/poisson", - "version": "0.2.5", + "version": "0.2.6", "description": "nD Poisson-disc sampling w/ support for spatial density functions and custom PRNGs", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.5", - "@thi.ng/random": "^1.1.1", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/random": "^1.1.2", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "2d", diff --git a/packages/random/CHANGELOG.md b/packages/random/CHANGELOG.md index ecce17479f..770261eec1 100644 --- a/packages/random/CHANGELOG.md +++ b/packages/random/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/random@1.1.1...@thi.ng/random@1.1.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/random + + + + + ## [1.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/random@1.1.0...@thi.ng/random@1.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/random diff --git a/packages/random/package.json b/packages/random/package.json index c9c731d2dd..0f17aa1325 100644 --- a/packages/random/package.json +++ b/packages/random/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/random", - "version": "1.1.1", + "version": "1.1.2", "description": "Pseudo-random number generators w/ unified API", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3" + "@thi.ng/api": "^5.1.0" }, "keywords": [ "ES6", diff --git a/packages/range-coder/CHANGELOG.md b/packages/range-coder/CHANGELOG.md index fd0422eb2d..e5c6ee7f1a 100644 --- a/packages/range-coder/CHANGELOG.md +++ b/packages/range-coder/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.8...@thi.ng/range-coder@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/range-coder + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.7...@thi.ng/range-coder@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/range-coder diff --git a/packages/range-coder/package.json b/packages/range-coder/package.json index e48f84eb11..56fdfb4521 100644 --- a/packages/range-coder/package.json +++ b/packages/range-coder/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/range-coder", - "version": "1.0.8", + "version": "1.0.9", "description": "Binary data range encoder / decoder", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/transducers": "^5.1.2", + "@thi.ng/transducers": "^5.2.0", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/resolve-map/CHANGELOG.md b/packages/resolve-map/CHANGELOG.md index 12aedbaf93..e50b5f7c86 100644 --- a/packages/resolve-map/CHANGELOG.md +++ b/packages/resolve-map/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.4...@thi.ng/resolve-map@4.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/resolve-map + + + + + ## [4.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.3...@thi.ng/resolve-map@4.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/resolve-map diff --git a/packages/resolve-map/package.json b/packages/resolve-map/package.json index 7ede43b83f..6364b7034f 100644 --- a/packages/resolve-map/package.json +++ b/packages/resolve-map/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/resolve-map", - "version": "4.0.4", + "version": "4.0.5", "description": "DAG resolution of vanilla objects & arrays with internally linked values", "module": "./index.js", "main": "./lib/index.js", @@ -31,7 +31,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4" diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 0aa5d630c7..05ec668af1 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@1.0.4...@thi.ng/router@1.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/router + + + + + ## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@1.0.3...@thi.ng/router@1.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/router diff --git a/packages/router/package.json b/packages/router/package.json index 349da73ed8..32c08259b9 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/router", - "version": "1.0.4", + "version": "1.0.5", "description": "Generic router for browser & non-browser based applications", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3" diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md index 221f901b92..f4ed1ab540 100644 --- a/packages/rstream-csp/CHANGELOG.md +++ b/packages/rstream-csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.9...@thi.ng/rstream-csp@1.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-csp + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.8...@thi.ng/rstream-csp@1.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-csp diff --git a/packages/rstream-csp/package.json b/packages/rstream-csp/package.json index 6c6b75632a..8df7e6d18d 100644 --- a/packages/rstream-csp/package.json +++ b/packages/rstream-csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-csp", - "version": "1.0.9", + "version": "1.0.10", "description": "@thi.ng/csp bridge module for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/csp": "^1.0.8", - "@thi.ng/rstream": "^2.2.1" + "@thi.ng/csp": "^1.0.9", + "@thi.ng/rstream": "^2.2.2" }, "keywords": [ "bridge", diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md index 1b80fcc470..d11f405abb 100644 --- a/packages/rstream-dot/CHANGELOG.md +++ b/packages/rstream-dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.9...@thi.ng/rstream-dot@1.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-dot + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.8...@thi.ng/rstream-dot@1.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-dot diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json index aa761e9cba..cc2166e89b 100644 --- a/packages/rstream-dot/package.json +++ b/packages/rstream-dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-dot", - "version": "1.0.9", + "version": "1.0.10", "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/rstream": "^2.2.1" + "@thi.ng/rstream": "^2.2.2" }, "keywords": [ "conversion", diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md index e4123d0f74..28ddd6ade1 100644 --- a/packages/rstream-gestures/CHANGELOG.md +++ b/packages/rstream-gestures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.9...@thi.ng/rstream-gestures@1.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-gestures + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.8...@thi.ng/rstream-gestures@1.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-gestures diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json index 1f2d6e362d..98ba9853c9 100644 --- a/packages/rstream-gestures/package.json +++ b/packages/rstream-gestures/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-gestures", - "version": "1.0.9", + "version": "1.0.10", "description": "Unified mouse, mouse wheel & single-touch event stream abstraction", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/rstream": "^2.2.1", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/api": "^5.1.0", + "@thi.ng/rstream": "^2.2.2", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "dataflow", diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md index 59b179e88a..8ab7612491 100644 --- a/packages/rstream-graph/CHANGELOG.md +++ b/packages/rstream-graph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.9...@thi.ng/rstream-graph@3.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-graph + + + + + ## [3.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.8...@thi.ng/rstream-graph@3.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-graph diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json index 1d0ee7b1b2..9439878698 100644 --- a/packages/rstream-graph/package.json +++ b/packages/rstream-graph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-graph", - "version": "3.0.9", + "version": "3.0.10", "description": "Declarative dataflow graph construction for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4", - "@thi.ng/resolve-map": "^4.0.4", - "@thi.ng/rstream": "^2.2.1", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/resolve-map": "^4.0.5", + "@thi.ng/rstream": "^2.2.2", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "compute", diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md index 82635fc262..3c899bfc17 100644 --- a/packages/rstream-log/CHANGELOG.md +++ b/packages/rstream-log/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.9...@thi.ng/rstream-log@2.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-log + + + + + ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.8...@thi.ng/rstream-log@2.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-log diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json index e6131c9664..2e66a7e0ce 100644 --- a/packages/rstream-log/package.json +++ b/packages/rstream-log/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-log", - "version": "2.0.9", + "version": "2.0.10", "description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.1", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/rstream": "^2.2.2", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "ES6", diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md index df9e2fb60b..d1bf2cf6d0 100644 --- a/packages/rstream-query/CHANGELOG.md +++ b/packages/rstream-query/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.9...@thi.ng/rstream-query@1.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream-query + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.8...@thi.ng/rstream-query@1.0.9) (2019-03-05) **Note:** Version bump only for package @thi.ng/rstream-query diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json index 20ecec8ef8..dc298274d6 100644 --- a/packages/rstream-query/package.json +++ b/packages/rstream-query/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-query", - "version": "1.0.9", + "version": "1.0.10", "description": "@thi.ng/rstream based triple store & reactive query engine", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.8", + "@thi.ng/api": "^5.1.0", + "@thi.ng/associative": "^1.0.9", "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.1", - "@thi.ng/rstream-dot": "^1.0.9", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/rstream": "^2.2.2", + "@thi.ng/rstream-dot": "^1.0.10", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "dataflow", diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md index edbdbcd260..89e90047eb 100644 --- a/packages/rstream/CHANGELOG.md +++ b/packages/rstream/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.1...@thi.ng/rstream@2.2.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/rstream + + + + + ## [2.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.0...@thi.ng/rstream@2.2.1) (2019-03-05) diff --git a/packages/rstream/package.json b/packages/rstream/package.json index 0364a2d5ca..69a875a186 100644 --- a/packages/rstream/package.json +++ b/packages/rstream/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream", - "version": "2.2.1", + "version": "2.2.2", "description": "Reactive multi-tap streams, dataflow & transformation pipeline constructs", "module": "./index.js", "main": "./lib/index.js", @@ -32,13 +32,13 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/associative": "^1.0.8", - "@thi.ng/atom": "^2.0.4", + "@thi.ng/api": "^5.1.0", + "@thi.ng/associative": "^1.0.9", + "@thi.ng/atom": "^2.0.5", "@thi.ng/checks": "^2.1.1", "@thi.ng/errors": "^1.0.3", "@thi.ng/paths": "^2.0.4", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "datastructure", diff --git a/packages/sax/CHANGELOG.md b/packages/sax/CHANGELOG.md index b052a1d947..104aeb9d94 100644 --- a/packages/sax/CHANGELOG.md +++ b/packages/sax/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.8...@thi.ng/sax@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/sax + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.7...@thi.ng/sax@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/sax diff --git a/packages/sax/package.json b/packages/sax/package.json index 2299e685bc..5114adc2d9 100644 --- a/packages/sax/package.json +++ b/packages/sax/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sax", - "version": "1.0.8", + "version": "1.0.9", "description": "Transducer-based, SAX-like, non-validating, speedy & tiny XML parser", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.2", - "@thi.ng/transducers-fsm": "^1.0.8" + "@thi.ng/api": "^5.1.0", + "@thi.ng/transducers": "^5.2.0", + "@thi.ng/transducers-fsm": "^1.0.9" }, "keywords": [ "ES6", diff --git a/packages/sparse/CHANGELOG.md b/packages/sparse/CHANGELOG.md index dc2ef716d0..413af9cd51 100644 --- a/packages/sparse/CHANGELOG.md +++ b/packages/sparse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.4...@thi.ng/sparse@0.1.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/sparse + + + + + ## [0.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.3...@thi.ng/sparse@0.1.4) (2019-03-03) **Note:** Version bump only for package @thi.ng/sparse diff --git a/packages/sparse/package.json b/packages/sparse/package.json index 079dfd8d99..eba11b4c1e 100644 --- a/packages/sparse/package.json +++ b/packages/sparse/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sparse", - "version": "0.1.4", + "version": "0.1.5", "description": "Sparse vector & matrix implementations", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/api": "^5.1.0", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "adjacency", diff --git a/packages/strings/CHANGELOG.md b/packages/strings/CHANGELOG.md index 0c65222113..e11909dcbc 100644 --- a/packages/strings/CHANGELOG.md +++ b/packages/strings/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.4...@thi.ng/strings@1.0.5) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/strings + + + + + ## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.0.3...@thi.ng/strings@1.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/strings diff --git a/packages/strings/package.json b/packages/strings/package.json index 2b84e16c87..d4e2e81f17 100644 --- a/packages/strings/package.json +++ b/packages/strings/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/strings", - "version": "1.0.4", + "version": "1.0.5", "description": "Various string formatting & utility functions", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/errors": "^1.0.3", - "@thi.ng/memoize": "^1.0.3" + "@thi.ng/memoize": "^1.0.4" }, "keywords": [ "composition", diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md index 0f4e38e91e..e56c62a969 100644 --- a/packages/transducers-binary/CHANGELOG.md +++ b/packages/transducers-binary/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.1...@thi.ng/transducers-binary@0.3.2) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/transducers-binary + + + + + ## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.0...@thi.ng/transducers-binary@0.3.1) (2019-03-05) diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index c52573ca12..fbfed45409 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-binary", - "version": "0.3.1", + "version": "0.3.2", "description": "Binary data related transducers & reducers", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/compose": "^1.1.2", - "@thi.ng/random": "^1.1.1", - "@thi.ng/strings": "^1.0.4", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/compose": "^1.2.0", + "@thi.ng/random": "^1.1.2", + "@thi.ng/strings": "^1.0.5", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "base64", diff --git a/packages/transducers-fsm/CHANGELOG.md b/packages/transducers-fsm/CHANGELOG.md index 2e67048ea2..b32632dfd2 100644 --- a/packages/transducers-fsm/CHANGELOG.md +++ b/packages/transducers-fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.8...@thi.ng/transducers-fsm@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/transducers-fsm + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.7...@thi.ng/transducers-fsm@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/transducers-fsm diff --git a/packages/transducers-fsm/package.json b/packages/transducers-fsm/package.json index a45033c6f7..39337c0ad1 100644 --- a/packages/transducers-fsm/package.json +++ b/packages/transducers-fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-fsm", - "version": "1.0.8", + "version": "1.0.9", "description": "Transducer-based Finite State Machine transformer", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/api": "^5.1.0", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "ES6", diff --git a/packages/transducers-hdom/CHANGELOG.md b/packages/transducers-hdom/CHANGELOG.md index c211b40469..6d2a08ead7 100644 --- a/packages/transducers-hdom/CHANGELOG.md +++ b/packages/transducers-hdom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.9...@thi.ng/transducers-hdom@2.0.10) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/transducers-hdom + + + + + ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.8...@thi.ng/transducers-hdom@2.0.9) (2019-03-03) **Note:** Version bump only for package @thi.ng/transducers-hdom diff --git a/packages/transducers-hdom/package.json b/packages/transducers-hdom/package.json index 1d55536d5e..5c8e52df3a 100644 --- a/packages/transducers-hdom/package.json +++ b/packages/transducers-hdom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-hdom", - "version": "2.0.9", + "version": "2.0.10", "description": "Transducer based UI updater for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/hdom": "^7.1.2", - "@thi.ng/hiccup": "^3.1.1", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/hdom": "^7.1.3", + "@thi.ng/hiccup": "^3.1.2", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "diff", diff --git a/packages/transducers-stats/CHANGELOG.md b/packages/transducers-stats/CHANGELOG.md index e396812ef9..f971e9b2e4 100644 --- a/packages/transducers-stats/CHANGELOG.md +++ b/packages/transducers-stats/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.8...@thi.ng/transducers-stats@1.0.9) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/transducers-stats + + + + + ## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.7...@thi.ng/transducers-stats@1.0.8) (2019-03-03) **Note:** Version bump only for package @thi.ng/transducers-stats diff --git a/packages/transducers-stats/package.json b/packages/transducers-stats/package.json index 7f27ec7672..c02f7cfb0d 100644 --- a/packages/transducers-stats/package.json +++ b/packages/transducers-stats/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-stats", - "version": "1.0.8", + "version": "1.0.9", "description": "Transducers for statistical / technical analysis", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.8", + "@thi.ng/dcons": "^2.0.9", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "ES6", diff --git a/packages/transducers/CHANGELOG.md b/packages/transducers/CHANGELOG.md index cfefc25a58..48e912931b 100644 --- a/packages/transducers/CHANGELOG.md +++ b/packages/transducers/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.1.2...@thi.ng/transducers@5.2.0) (2019-03-10) + + +### Features + +* **transducers:** add / update convolution fns ([31e594b](https://github.com/thi-ng/umbrella/commit/31e594b)) + + + + + ## [5.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.1.1...@thi.ng/transducers@5.1.2) (2019-03-03) diff --git a/packages/transducers/package.json b/packages/transducers/package.json index 0e2399020f..35ff9e8232 100644 --- a/packages/transducers/package.json +++ b/packages/transducers/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers", - "version": "5.1.2", + "version": "5.2.0", "description": "Lightweight transducer implementations for ES6 / TypeScript", "module": "./index.js", "main": "./lib/index.js", @@ -32,15 +32,15 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/arrays": "^0.1.1", + "@thi.ng/api": "^5.1.0", + "@thi.ng/arrays": "^0.1.2", "@thi.ng/checks": "^2.1.1", "@thi.ng/compare": "^1.0.3", - "@thi.ng/compose": "^1.1.2", + "@thi.ng/compose": "^1.2.0", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/random": "^1.1.1", - "@thi.ng/strings": "^1.0.4" + "@thi.ng/random": "^1.1.2", + "@thi.ng/strings": "^1.0.5" }, "keywords": [ "array", diff --git a/packages/vector-pools/CHANGELOG.md b/packages/vector-pools/CHANGELOG.md index 9e04fe002e..ced71ea253 100644 --- a/packages/vector-pools/CHANGELOG.md +++ b/packages/vector-pools/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.5...@thi.ng/vector-pools@0.2.6) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/vector-pools + + + + + ## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.4...@thi.ng/vector-pools@0.2.5) (2019-03-03) **Note:** Version bump only for package @thi.ng/vector-pools diff --git a/packages/vector-pools/package.json b/packages/vector-pools/package.json index d2ed8674e4..01adb9fd2a 100644 --- a/packages/vector-pools/package.json +++ b/packages/vector-pools/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vector-pools", - "version": "0.2.5", + "version": "0.2.6", "description": "Data structures for managing & working with strided, memory mapped vectors", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", - "@thi.ng/malloc": "^2.0.3", - "@thi.ng/vectors": "^2.4.0" + "@thi.ng/api": "^5.1.0", + "@thi.ng/malloc": "^2.0.4", + "@thi.ng/vectors": "^2.4.1" }, "keywords": [ "ES6", diff --git a/packages/vectors/CHANGELOG.md b/packages/vectors/CHANGELOG.md index ac81d9a0da..a29988484b 100644 --- a/packages/vectors/CHANGELOG.md +++ b/packages/vectors/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.4.0...@thi.ng/vectors@2.4.1) (2019-03-10) + +**Note:** Version bump only for package @thi.ng/vectors + + + + + # [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.3.2...@thi.ng/vectors@2.4.0) (2019-03-03) diff --git a/packages/vectors/package.json b/packages/vectors/package.json index fbac97d74f..3fa5d676d5 100644 --- a/packages/vectors/package.json +++ b/packages/vectors/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vectors", - "version": "2.4.0", + "version": "2.4.1", "description": "Optimized 2d/3d/4d and arbitrary length vector operations", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/api": "^5.0.3", + "@thi.ng/api": "^5.1.0", "@thi.ng/checks": "^2.1.1", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", - "@thi.ng/memoize": "^1.0.3", - "@thi.ng/random": "^1.1.1", - "@thi.ng/transducers": "^5.1.2" + "@thi.ng/memoize": "^1.0.4", + "@thi.ng/random": "^1.1.2", + "@thi.ng/transducers": "^5.2.0" }, "keywords": [ "2D", From 72184c046584b82004856f0c89669e99b50bfbc6 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 10 Mar 2019 22:42:17 +0000 Subject: [PATCH 33/75] feat(examples): add wolfram 1D CA demo --- examples/wolfram/.gitignore | 5 ++ examples/wolfram/README.md | 13 ++++ examples/wolfram/index.html | 16 +++++ examples/wolfram/package.json | 32 +++++++++ examples/wolfram/src/index.ts | 124 +++++++++++++++++++++++++++++++++ examples/wolfram/tsconfig.json | 11 +++ 6 files changed, 201 insertions(+) create mode 100644 examples/wolfram/.gitignore create mode 100644 examples/wolfram/README.md create mode 100644 examples/wolfram/index.html create mode 100644 examples/wolfram/package.json create mode 100644 examples/wolfram/src/index.ts create mode 100644 examples/wolfram/tsconfig.json diff --git a/examples/wolfram/.gitignore b/examples/wolfram/.gitignore new file mode 100644 index 0000000000..0c5abcab62 --- /dev/null +++ b/examples/wolfram/.gitignore @@ -0,0 +1,5 @@ +.cache +out +node_modules +yarn.lock +*.js diff --git a/examples/wolfram/README.md b/examples/wolfram/README.md new file mode 100644 index 0000000000..9a345a30b4 --- /dev/null +++ b/examples/wolfram/README.md @@ -0,0 +1,13 @@ +# wolfram + +[Live demo](http://demo.thi.ng/umbrella/wolfram/) + +Please refer to the [example build instructions](https://github.com/thi-ng/umbrella/wiki/Example-build-instructions) on the wiki. + +## Authors + +- Karsten Schmidt + +## License + +© 2018 Karsten Schmidt // Apache Software License 2.0 diff --git a/examples/wolfram/index.html b/examples/wolfram/index.html new file mode 100644 index 0000000000..d972fd0273 --- /dev/null +++ b/examples/wolfram/index.html @@ -0,0 +1,16 @@ + + + + + + + wolfram + + + + +
+ + + diff --git a/examples/wolfram/package.json b/examples/wolfram/package.json new file mode 100644 index 0000000000..b93b8374ae --- /dev/null +++ b/examples/wolfram/package.json @@ -0,0 +1,32 @@ +{ + "name": "wolfram", + "version": "0.0.1", + "repository": "https://github.com/thi-ng/umbrella", + "author": "Karsten Schmidt ", + "license": "Apache-2.0", + "scripts": { + "clean": "rm -rf .cache build out", + "build": "yarn clean && parcel build index.html -d out --public-url ./ --no-source-maps --no-cache --detailed-report --experimental-scope-hoisting", + "start": "parcel index.html -p 8080 --open" + }, + "devDependencies": { + "parcel-bundler": "^1.11.0", + "rimraf": "^2.6.3", + "terser": "^3.14.1", + "typescript": "^3.2.2" + }, + "dependencies": { + "@thi.ng/api": "latest", + "@thi.ng/hdom-components": "latest", + "@thi.ng/rstream": "latest", + "@thi.ng/transducers": "latest", + "@thi.ng/transducers-binary": "latest", + "@thi.ng/transducers-hdom": "latest" + }, + "browserslist": [ + "last 3 Chrome versions" + ], + "browser": { + "process": false + } +} diff --git a/examples/wolfram/src/index.ts b/examples/wolfram/src/index.ts new file mode 100644 index 0000000000..3d747a54bc --- /dev/null +++ b/examples/wolfram/src/index.ts @@ -0,0 +1,124 @@ +import { dropdown } from "@thi.ng/hdom-components"; +import { + fromIterable, + fromRAF, + stream, + sync +} from "@thi.ng/rstream"; +import { + buildKernel1d, + comp, + convolve1d, + iterator1, + lookup1d, + map, + range, + reducer, + scan, + slidingWindow +} from "@thi.ng/transducers"; +import { bits, randomBits } from "@thi.ng/transducers-binary"; +import { updateDOM } from "@thi.ng/transducers-hdom"; + +const resetCA = () => [...randomBits(0.25, 128)]; + +const evolveCA = (src, { kernel, rule, reset }) => + reset + ? resetCA() + : [ + ...iterator1( + comp( + convolve1d({ + src, + kernel, + width: src.length, + wrap: true + }), + map(lookup1d(rule)) + ), + range(src.length) + ) + ]; + +const triggerReset = () => + wolfram.add(fromIterable([true, false], 16), "reset"); + +const setRule = (e) => { + rule.next(parseInt(e.target.value)); + triggerReset(); +}; + +const setKernel = (e) => kernel.next(parseInt(e.target.value)); + +const app = ({ id, ksize, sim }) => [ + "div.sans-serif.ma3", + [ + "div", + "Rule:", + [ + "input.w4.h2.mh3.pa2", + { + type: "number", + value: id, + oninput: setRule + } + ], + "Kernel:", + [ + dropdown, + { class: "h2 pa2 mh3", onchange: setKernel }, + [[3, "3"], [5, "5"]], + ksize + ], + [ + "button.mr3.pa2", + { + onclick: triggerReset + }, + "Reset" + ], + [ + "a.link.blue", + { + href: + "https://en.wikipedia.org/wiki/Elementary_cellular_automaton#Random_initial_state" + }, + "Wikipedia" + ] + ], + ["pre.f7.code", sim] +]; + +const rule = stream(); +const kernel = stream(); + +const wolfram = sync({ + src: { + rule: rule.transform(map((x) => [...bits(32, false, [x])])), + kernel: kernel.transform( + map((x) => buildKernel1d([1, 2, 4, 8, 16], x)) + ), + _: fromRAF() + } +}); + +const main = sync({ + src: { + id: rule, + ksize: kernel, + sim: wolfram.transform( + scan(reducer(resetCA, evolveCA)), + map((gen) => gen.map((x) => (x ? "█" : " ")).join("")), + slidingWindow(32), + map((win: string[]) => win.join("\n")) + ) + } +}).transform(map(app), updateDOM()); + +rule.next(105); +kernel.next(3); + +if (process.env.NODE_ENV !== "production") { + const hot = (module).hot; + hot && hot.dispose(() => main.done()); +} diff --git a/examples/wolfram/tsconfig.json b/examples/wolfram/tsconfig.json new file mode 100644 index 0000000000..bbf112cc18 --- /dev/null +++ b/examples/wolfram/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "outDir": ".", + "target": "es6", + "sourceMap": true + }, + "include": [ + "./src/**/*.ts" + ] +} From cf30cd4d51de235397e91c6664e2597e2866df26 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Sun, 10 Mar 2019 23:25:02 +0000 Subject: [PATCH 34/75] docs: update readme --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f37c76e490..f9cc628533 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,11 @@ packages) in the [examples](./examples) directory. ## Blog posts - [How to UI in 2018](https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3) -- [Of umbrellas, transducers, reactive streams & mushrooms (Part 1) - Overview](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) -- [Of umbrellas, transducers, reactive streams & mushrooms (Part 2) - Transducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) + +- "Of umbrellas, transducers, reactive streams & mushrooms" (ongoing series): + - [Part 1 - Overview](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) + - [Part 2 - Transducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) + - [Part 3 - Cellular automata](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-3-a1c4e621db9b) ## Projects From 47ac88a2ad3fd7c403ebb111e647bb9ea852a842 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 12 Mar 2019 00:34:32 +0000 Subject: [PATCH 35/75] fix(checks): fix #77, update & minor optimization isPlainObject() - add/update tests - add AUTHORS.md --- packages/checks/AUTHORS.md | 8 ++++++++ packages/checks/src/is-plain-object.ts | 9 +++++---- packages/checks/test/index.ts | 18 ++++++++++++------ 3 files changed, 25 insertions(+), 10 deletions(-) create mode 100644 packages/checks/AUTHORS.md diff --git a/packages/checks/AUTHORS.md b/packages/checks/AUTHORS.md new file mode 100644 index 0000000000..858c6341e6 --- /dev/null +++ b/packages/checks/AUTHORS.md @@ -0,0 +1,8 @@ +## Maintainer + +- Karsten Schmidt (@postspectacular) + +## Contributors + +- Gavin Cannizzaro (@gavinpc-mindgrub) +- Jay Zawrotny (@andrew8er) diff --git a/packages/checks/src/is-plain-object.ts b/packages/checks/src/is-plain-object.ts index bc6025367c..c4cbc08863 100644 --- a/packages/checks/src/is-plain-object.ts +++ b/packages/checks/src/is-plain-object.ts @@ -1,4 +1,4 @@ -const OBJP = Object.getPrototypeOf({}); +const OBJP = Object.getPrototypeOf; /** * Similar to `isObject()`, but also checks if prototype is that of @@ -7,9 +7,10 @@ const OBJP = Object.getPrototypeOf({}); * @param x */ export const isPlainObject = (x: any): x is object => { - let proto; + let p; return ( - Object.prototype.toString.call(x) === "[object Object]" && - ((proto = Object.getPrototypeOf(x)), proto === null || proto === OBJP) + x != null && + typeof x === "object" && + ((p = OBJP(x)) === null || OBJP(p) === null) ); }; diff --git a/packages/checks/test/index.ts b/packages/checks/test/index.ts index c70a02cc61..7e6b24f135 100644 --- a/packages/checks/test/index.ts +++ b/packages/checks/test/index.ts @@ -1,5 +1,5 @@ import * as assert from "assert"; - +import * as vm from "vm"; import { existsAndNotNull } from "../src/exists-not-null"; import { implementsFunction } from "../src/implements-function"; import { isArray } from "../src/is-array"; @@ -12,8 +12,7 @@ import { isSymbol } from "../src/is-symbol"; import { isTransferable } from "../src/is-transferable"; import { isTypedArray } from "../src/is-typedarray"; -describe("checks", function () { - +describe("checks", function() { it("existsAndNotNull", () => { assert.ok(existsAndNotNull([]), "empty array"); assert.ok(existsAndNotNull(new Uint8Array(1)), "typedarray"); @@ -66,7 +65,7 @@ describe("checks", function () { }); it("isObject", () => { - function Foo() { }; + function Foo() {} assert.ok(isObject([]), "empty array"); assert.ok(isObject(new Uint8Array(1)), "typedarray"); assert.ok(isObject({}), "obj"); @@ -79,10 +78,16 @@ describe("checks", function () { }); it("isPlainObject", () => { - function Foo() { }; + const ctxClass = vm.runInNewContext("class A {}; new A();"); + const ctxObj = vm.runInNewContext("({})"); + + function Foo() {} + assert.ok(isPlainObject({}), "obj"); + assert.ok(isPlainObject(Object.create(null)), "obj"); assert.ok(isPlainObject(new Object()), "obj ctor"); assert.ok(!isPlainObject(Foo), "fn"); + assert.ok(!isPlainObject((function*() {})()), "generator"); assert.ok(!isPlainObject(new Foo()), "class"); assert.ok(!isPlainObject([]), "empty array"); assert.ok(!isPlainObject(new Uint8Array(1)), "typedarray"); @@ -90,6 +95,8 @@ describe("checks", function () { assert.ok(!isPlainObject(0), "zero"); assert.ok(!isPlainObject(null), "null"); assert.ok(!isPlainObject(undefined), "null"); + assert.ok(isPlainObject(ctxObj), "vm ctx obj"); + assert.ok(!isPlainObject(ctxClass), "vm ctx class"); }); it("isString", () => { @@ -142,5 +149,4 @@ describe("checks", function () { assert.ok(!isTransferable(null), "null"); assert.ok(!isTransferable(undefined), "undefined"); }); - }); From 05e82adc716d6b422fbfac861723fac5babeeb83 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Tue, 12 Mar 2019 00:48:36 +0000 Subject: [PATCH 36/75] Publish - @thi.ng/adjacency@0.1.6 - @thi.ng/arrays@0.1.3 - @thi.ng/associative@1.0.10 - @thi.ng/atom@2.0.6 - @thi.ng/bencode@0.2.8 - @thi.ng/cache@1.0.10 - @thi.ng/checks@2.1.2 - @thi.ng/color@0.1.12 - @thi.ng/csp@1.0.10 - @thi.ng/dcons@2.0.10 - @thi.ng/dgraph@1.0.10 - @thi.ng/dot@1.0.6 - @thi.ng/fsm@2.1.6 - @thi.ng/geom-accel@1.1.8 - @thi.ng/geom-api@0.1.7 - @thi.ng/geom-arc@0.1.8 - @thi.ng/geom-clip@0.0.10 - @thi.ng/geom-closest-point@0.1.8 - @thi.ng/geom-hull@0.0.10 - @thi.ng/geom-isec@0.1.8 - @thi.ng/geom-isoline@0.1.8 - @thi.ng/geom-poly-utils@0.1.8 - @thi.ng/geom-resample@0.1.8 - @thi.ng/geom-splines@0.1.8 - @thi.ng/geom-subdiv-curve@0.1.7 - @thi.ng/geom-tessellate@0.1.8 - @thi.ng/geom-voronoi@0.1.8 - @thi.ng/geom@1.2.13 - @thi.ng/hdom-canvas@2.0.6 - @thi.ng/hdom-components@3.0.10 - @thi.ng/hdom-mock@1.0.7 - @thi.ng/hdom@7.1.4 - @thi.ng/hiccup-carbon-icons@1.0.8 - @thi.ng/hiccup-css@1.0.10 - @thi.ng/hiccup-markdown@1.0.13 - @thi.ng/hiccup-svg@3.1.13 - @thi.ng/hiccup@3.1.3 - @thi.ng/iges@1.0.10 - @thi.ng/interceptors@2.0.6 - @thi.ng/iterators@5.0.10 - @thi.ng/lsys@0.2.4 - @thi.ng/malloc@2.0.5 - @thi.ng/matrices@0.1.11 - @thi.ng/paths@2.0.5 - @thi.ng/pointfree-lang@1.0.8 - @thi.ng/pointfree@1.0.8 - @thi.ng/poisson@0.2.7 - @thi.ng/range-coder@1.0.10 - @thi.ng/resolve-map@4.0.6 - @thi.ng/router@1.0.6 - @thi.ng/rstream-csp@1.0.11 - @thi.ng/rstream-dot@1.0.11 - @thi.ng/rstream-gestures@1.0.11 - @thi.ng/rstream-graph@3.0.11 - @thi.ng/rstream-log@2.0.11 - @thi.ng/rstream-query@1.0.11 - @thi.ng/rstream@2.2.3 - @thi.ng/sax@1.0.10 - @thi.ng/sparse@0.1.6 - @thi.ng/transducers-binary@0.3.3 - @thi.ng/transducers-fsm@1.0.10 - @thi.ng/transducers-hdom@2.0.11 - @thi.ng/transducers-stats@1.0.10 - @thi.ng/transducers@5.2.1 - @thi.ng/vector-pools@0.2.7 - @thi.ng/vectors@2.4.2 --- packages/adjacency/CHANGELOG.md | 8 +++++ packages/adjacency/package.json | 10 +++--- packages/arrays/CHANGELOG.md | 8 +++++ packages/arrays/package.json | 4 +-- packages/associative/CHANGELOG.md | 8 +++++ packages/associative/package.json | 8 ++--- packages/atom/CHANGELOG.md | 8 +++++ packages/atom/package.json | 6 ++-- packages/bencode/CHANGELOG.md | 8 +++++ packages/bencode/package.json | 10 +++--- packages/cache/CHANGELOG.md | 8 +++++ packages/cache/package.json | 6 ++-- packages/checks/CHANGELOG.md | 11 +++++++ packages/checks/package.json | 2 +- packages/color/CHANGELOG.md | 8 +++++ packages/color/package.json | 6 ++-- packages/csp/CHANGELOG.md | 8 +++++ packages/csp/package.json | 10 +++--- packages/dcons/CHANGELOG.md | 8 +++++ packages/dcons/package.json | 6 ++-- packages/dgraph/CHANGELOG.md | 8 +++++ packages/dgraph/package.json | 6 ++-- packages/dot/CHANGELOG.md | 8 +++++ packages/dot/package.json | 4 +-- packages/fsm/CHANGELOG.md | 8 +++++ packages/fsm/package.json | 6 ++-- packages/geom-accel/CHANGELOG.md | 8 +++++ packages/geom-accel/package.json | 10 +++--- packages/geom-api/CHANGELOG.md | 8 +++++ packages/geom-api/package.json | 4 +-- packages/geom-arc/CHANGELOG.md | 8 +++++ packages/geom-arc/package.json | 10 +++--- packages/geom-clip/CHANGELOG.md | 8 +++++ packages/geom-clip/package.json | 8 ++--- packages/geom-closest-point/CHANGELOG.md | 8 +++++ packages/geom-closest-point/package.json | 4 +-- packages/geom-hull/CHANGELOG.md | 8 +++++ packages/geom-hull/package.json | 4 +-- packages/geom-isec/CHANGELOG.md | 8 +++++ packages/geom-isec/package.json | 8 ++--- packages/geom-isoline/CHANGELOG.md | 8 +++++ packages/geom-isoline/package.json | 6 ++-- packages/geom-poly-utils/CHANGELOG.md | 8 +++++ packages/geom-poly-utils/package.json | 6 ++-- packages/geom-resample/CHANGELOG.md | 8 +++++ packages/geom-resample/package.json | 10 +++--- packages/geom-splines/CHANGELOG.md | 8 +++++ packages/geom-splines/package.json | 12 +++---- packages/geom-subdiv-curve/CHANGELOG.md | 8 +++++ packages/geom-subdiv-curve/package.json | 8 ++--- packages/geom-tessellate/CHANGELOG.md | 8 +++++ packages/geom-tessellate/package.json | 14 ++++----- packages/geom-voronoi/CHANGELOG.md | 8 +++++ packages/geom-voronoi/package.json | 12 +++---- packages/geom/CHANGELOG.md | 8 +++++ packages/geom/package.json | 38 +++++++++++------------ packages/hdom-canvas/CHANGELOG.md | 8 +++++ packages/hdom-canvas/package.json | 8 ++--- packages/hdom-components/CHANGELOG.md | 8 +++++ packages/hdom-components/package.json | 8 ++--- packages/hdom-mock/CHANGELOG.md | 8 +++++ packages/hdom-mock/package.json | 6 ++-- packages/hdom/CHANGELOG.md | 8 +++++ packages/hdom/package.json | 8 ++--- packages/hiccup-carbon-icons/CHANGELOG.md | 8 +++++ packages/hiccup-carbon-icons/package.json | 4 +-- packages/hiccup-css/CHANGELOG.md | 8 +++++ packages/hiccup-css/package.json | 6 ++-- packages/hiccup-markdown/CHANGELOG.md | 8 +++++ packages/hiccup-markdown/package.json | 12 +++---- packages/hiccup-svg/CHANGELOG.md | 8 +++++ packages/hiccup-svg/package.json | 8 ++--- packages/hiccup/CHANGELOG.md | 8 +++++ packages/hiccup/package.json | 6 ++-- packages/iges/CHANGELOG.md | 8 +++++ packages/iges/package.json | 4 +-- packages/interceptors/CHANGELOG.md | 8 +++++ packages/interceptors/package.json | 8 ++--- packages/iterators/CHANGELOG.md | 8 +++++ packages/iterators/package.json | 4 +-- packages/lsys/CHANGELOG.md | 8 +++++ packages/lsys/package.json | 6 ++-- packages/malloc/CHANGELOG.md | 8 +++++ packages/malloc/package.json | 4 +-- packages/matrices/CHANGELOG.md | 8 +++++ packages/matrices/package.json | 6 ++-- packages/paths/CHANGELOG.md | 8 +++++ packages/paths/package.json | 4 +-- packages/pointfree-lang/CHANGELOG.md | 8 +++++ packages/pointfree-lang/package.json | 4 +-- packages/pointfree/CHANGELOG.md | 8 +++++ packages/pointfree/package.json | 4 +-- packages/poisson/CHANGELOG.md | 8 +++++ packages/poisson/package.json | 8 ++--- packages/range-coder/CHANGELOG.md | 8 +++++ packages/range-coder/package.json | 4 +-- packages/resolve-map/CHANGELOG.md | 8 +++++ packages/resolve-map/package.json | 6 ++-- packages/router/CHANGELOG.md | 8 +++++ packages/router/package.json | 4 +-- packages/rstream-csp/CHANGELOG.md | 8 +++++ packages/rstream-csp/package.json | 6 ++-- packages/rstream-dot/CHANGELOG.md | 8 +++++ packages/rstream-dot/package.json | 4 +-- packages/rstream-gestures/CHANGELOG.md | 8 +++++ packages/rstream-gestures/package.json | 6 ++-- packages/rstream-graph/CHANGELOG.md | 8 +++++ packages/rstream-graph/package.json | 12 +++---- packages/rstream-log/CHANGELOG.md | 8 +++++ packages/rstream-log/package.json | 8 ++--- packages/rstream-query/CHANGELOG.md | 8 +++++ packages/rstream-query/package.json | 12 +++---- packages/rstream/CHANGELOG.md | 8 +++++ packages/rstream/package.json | 12 +++---- packages/sax/CHANGELOG.md | 8 +++++ packages/sax/package.json | 6 ++-- packages/sparse/CHANGELOG.md | 8 +++++ packages/sparse/package.json | 4 +-- packages/transducers-binary/CHANGELOG.md | 8 +++++ packages/transducers-binary/package.json | 4 +-- packages/transducers-fsm/CHANGELOG.md | 8 +++++ packages/transducers-fsm/package.json | 4 +-- packages/transducers-hdom/CHANGELOG.md | 8 +++++ packages/transducers-hdom/package.json | 8 ++--- packages/transducers-stats/CHANGELOG.md | 8 +++++ packages/transducers-stats/package.json | 8 ++--- packages/transducers/CHANGELOG.md | 8 +++++ packages/transducers/package.json | 6 ++-- packages/vector-pools/CHANGELOG.md | 8 +++++ packages/vector-pools/package.json | 6 ++-- packages/vectors/CHANGELOG.md | 8 +++++ packages/vectors/package.json | 6 ++-- 132 files changed, 772 insertions(+), 241 deletions(-) diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md index 9bf6f15322..c3c5bd5499 100644 --- a/packages/adjacency/CHANGELOG.md +++ b/packages/adjacency/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.5...@thi.ng/adjacency@0.1.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/adjacency + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.4...@thi.ng/adjacency@0.1.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/adjacency diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json index 68e36973ec..e216892808 100644 --- a/packages/adjacency/package.json +++ b/packages/adjacency/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/adjacency", - "version": "0.1.5", + "version": "0.1.6", "description": "Sparse & bitwise adjacency matrices for directed / undirected graphs", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/vectors": "^2.4.1", + "@thi.ng/vectors": "^2.4.2", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -36,9 +36,9 @@ "@thi.ng/api": "^5.1.0", "@thi.ng/binary": "^1.0.3", "@thi.ng/bitfield": "^0.1.2", - "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.9", - "@thi.ng/sparse": "^0.1.5" + "@thi.ng/checks": "^2.1.2", + "@thi.ng/dcons": "^2.0.10", + "@thi.ng/sparse": "^0.1.6" }, "keywords": [ "adjacency", diff --git a/packages/arrays/CHANGELOG.md b/packages/arrays/CHANGELOG.md index f87f12ba00..2b08335908 100644 --- a/packages/arrays/CHANGELOG.md +++ b/packages/arrays/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.1.2...@thi.ng/arrays@0.1.3) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/arrays + + + + + ## [0.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.1.1...@thi.ng/arrays@0.1.2) (2019-03-10) **Note:** Version bump only for package @thi.ng/arrays diff --git a/packages/arrays/package.json b/packages/arrays/package.json index 426367d6d1..473b517994 100644 --- a/packages/arrays/package.json +++ b/packages/arrays/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/arrays", - "version": "0.1.2", + "version": "0.1.3", "description": "Array / Arraylike utilities", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compare": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md index 359c970e62..23aaefe992 100644 --- a/packages/associative/CHANGELOG.md +++ b/packages/associative/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.9...@thi.ng/associative@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/associative + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@1.0.8...@thi.ng/associative@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/associative diff --git a/packages/associative/package.json b/packages/associative/package.json index 1d3528f2d3..36391f3999 100644 --- a/packages/associative/package.json +++ b/packages/associative/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/associative", - "version": "1.0.9", + "version": "1.0.10", "description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compare": "^1.0.3", - "@thi.ng/dcons": "^2.0.9", + "@thi.ng/dcons": "^2.0.10", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "data structures", diff --git a/packages/atom/CHANGELOG.md b/packages/atom/CHANGELOG.md index b3ee019380..445be58e78 100644 --- a/packages/atom/CHANGELOG.md +++ b/packages/atom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@2.0.5...@thi.ng/atom@2.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/atom + + + + + ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@2.0.4...@thi.ng/atom@2.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/atom diff --git a/packages/atom/package.json b/packages/atom/package.json index d8205de52f..585eded428 100644 --- a/packages/atom/package.json +++ b/packages/atom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/atom", - "version": "2.0.5", + "version": "2.0.6", "description": "Mutable wrappers for nested immutable values w/ optional undo/redo history", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/paths": "^2.0.4" + "@thi.ng/paths": "^2.0.5" }, "keywords": [ "derived views", diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md index 1824cd3846..16b929de7e 100644 --- a/packages/bencode/CHANGELOG.md +++ b/packages/bencode/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.7...@thi.ng/bencode@0.2.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/bencode + + + + + ## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.6...@thi.ng/bencode@0.2.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/bencode diff --git a/packages/bencode/package.json b/packages/bencode/package.json index cef00d0e73..de446e2790 100644 --- a/packages/bencode/package.json +++ b/packages/bencode/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/bencode", - "version": "0.2.7", + "version": "0.2.8", "description": "Bencode binary encoder / decoder with optional UTF8 encoding", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/checks": "^2.1.2", "@thi.ng/defmulti": "^1.0.4", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/transducers-binary": "^0.3.2" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/transducers-binary": "^0.3.3" }, "keywords": [ "bencode", diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 8f153e522b..e116769510 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.9...@thi.ng/cache@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/cache + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.8...@thi.ng/cache@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/cache diff --git a/packages/cache/package.json b/packages/cache/package.json index 170f102345..25c0a79ef3 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/cache", - "version": "1.0.9", + "version": "1.0.10", "description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/dcons": "^2.0.9", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/dcons": "^2.0.10", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "cache", diff --git a/packages/checks/CHANGELOG.md b/packages/checks/CHANGELOG.md index 99f95d33f4..e69becb2e7 100644 --- a/packages/checks/CHANGELOG.md +++ b/packages/checks/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.1...@thi.ng/checks@2.1.2) (2019-03-12) + + +### Bug Fixes + +* **checks:** fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a)) + + + + + ## [2.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.0...@thi.ng/checks@2.1.1) (2019-03-01) **Note:** Version bump only for package @thi.ng/checks diff --git a/packages/checks/package.json b/packages/checks/package.json index 36e5356c00..9215aea42c 100644 --- a/packages/checks/package.json +++ b/packages/checks/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/checks", - "version": "2.1.1", + "version": "2.1.2", "description": "Single-function sub-modules for type, feature & value checks", "module": "./index.js", "main": "./lib/index.js", diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md index 428c3db3ff..c2cbbcaa93 100644 --- a/packages/color/CHANGELOG.md +++ b/packages/color/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.11...@thi.ng/color@0.1.12) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/color + + + + + ## [0.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.10...@thi.ng/color@0.1.11) (2019-03-10) **Note:** Version bump only for package @thi.ng/color diff --git a/packages/color/package.json b/packages/color/package.json index c7908f1de2..a426137736 100644 --- a/packages/color/package.json +++ b/packages/color/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/color", - "version": "0.1.11", + "version": "0.1.12", "description": "Raw, array-based, color ops, conversions, opt. type wrappers, multi-color gradients", "module": "./index.js", "main": "./lib/index.js", @@ -38,8 +38,8 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", "@thi.ng/strings": "^1.0.5", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "alpha", diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md index 265b903495..d790bd67f5 100644 --- a/packages/csp/CHANGELOG.md +++ b/packages/csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.9...@thi.ng/csp@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/csp + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.8...@thi.ng/csp@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/csp diff --git a/packages/csp/package.json b/packages/csp/package.json index 3da6fbf81e..933cfb1ed4 100644 --- a/packages/csp/package.json +++ b/packages/csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/csp", - "version": "1.0.9", + "version": "1.0.10", "description": "ES6 promise based CSP implementation", "module": "./index.js", "main": "./lib/index.js", @@ -37,11 +37,11 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.9", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/dcons": "^2.0.10", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "async", diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md index 5eb93d862d..4e8b705085 100644 --- a/packages/dcons/CHANGELOG.md +++ b/packages/dcons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.9...@thi.ng/dcons@2.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/dcons + + + + + ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.8...@thi.ng/dcons@2.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/dcons diff --git a/packages/dcons/package.json b/packages/dcons/package.json index 3bf30bb2eb..43cd78d15c 100644 --- a/packages/dcons/package.json +++ b/packages/dcons/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dcons", - "version": "2.0.9", + "version": "2.0.10", "description": "Comprehensive doubly linked list structure w/ iterator support", "module": "./index.js", "main": "./lib/index.js", @@ -33,11 +33,11 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compare": "^1.0.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "datastructure", diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md index 3479d014fc..0d62f82326 100644 --- a/packages/dgraph/CHANGELOG.md +++ b/packages/dgraph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.9...@thi.ng/dgraph@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/dgraph + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.0.8...@thi.ng/dgraph@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/dgraph diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json index 868adf576a..2e75078dd2 100644 --- a/packages/dgraph/package.json +++ b/packages/dgraph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dgraph", - "version": "1.0.9", + "version": "1.0.10", "description": "Type-agnostic directed acyclic graph (DAG) & graph operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/associative": "^1.0.9", + "@thi.ng/associative": "^1.0.10", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "data structure", diff --git a/packages/dot/CHANGELOG.md b/packages/dot/CHANGELOG.md index a003a334a7..1dee2b9afd 100644 --- a/packages/dot/CHANGELOG.md +++ b/packages/dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.0.5...@thi.ng/dot@1.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/dot + + + + + ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.0.4...@thi.ng/dot@1.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/dot diff --git a/packages/dot/package.json b/packages/dot/package.json index d727fd9dc1..60b83b5a19 100644 --- a/packages/dot/package.json +++ b/packages/dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/dot", - "version": "1.0.5", + "version": "1.0.6", "description": "Graphviz DOM abstraction as vanilla JS objects & serialization to DOT format", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1" + "@thi.ng/checks": "^2.1.2" }, "keywords": [ "ES6", diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md index 278df8135b..0e2dbc7bf4 100644 --- a/packages/fsm/CHANGELOG.md +++ b/packages/fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.5...@thi.ng/fsm@2.1.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/fsm + + + + + ## [2.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.4...@thi.ng/fsm@2.1.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/fsm diff --git a/packages/fsm/package.json b/packages/fsm/package.json index d495809d72..b4a5108b4f 100644 --- a/packages/fsm/package.json +++ b/packages/fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/fsm", - "version": "2.1.5", + "version": "2.1.6", "description": "Composable primitives for building declarative, transducer based Finite-State machines & parsers for arbitrary data streams", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", + "@thi.ng/arrays": "^0.1.3", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "ES6", diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md index fc724e8ddf..120cc63069 100644 --- a/packages/geom-accel/CHANGELOG.md +++ b/packages/geom-accel/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.7...@thi.ng/geom-accel@1.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-accel + + + + + ## [1.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.6...@thi.ng/geom-accel@1.1.7) (2019-03-10) diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json index bde66637b7..c1a0d004cb 100644 --- a/packages/geom-accel/package.json +++ b/packages/geom-accel/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-accel", - "version": "1.1.7", + "version": "1.1.8", "description": "nD spatial indexing data structures", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/geom-api": "^0.1.7", "@thi.ng/heaps": "^1.0.5", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md index ef6ebf5b46..1d5e841e71 100644 --- a/packages/geom-api/CHANGELOG.md +++ b/packages/geom-api/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.6...@thi.ng/geom-api@0.1.7) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-api + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.1.5...@thi.ng/geom-api@0.1.6) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-api diff --git a/packages/geom-api/package.json b/packages/geom-api/package.json index a78a4215ba..ee1299c153 100644 --- a/packages/geom-api/package.json +++ b/packages/geom-api/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-api", - "version": "0.1.6", + "version": "0.1.7", "description": "Shared type & interface declarations for @thi.ng/geom packages", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "ES6", diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md index 69c7f15a12..065784ce71 100644 --- a/packages/geom-arc/CHANGELOG.md +++ b/packages/geom-arc/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.7...@thi.ng/geom-arc@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-arc + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.6...@thi.ng/geom-arc@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-arc diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json index bcf1fc015a..271678f0ea 100644 --- a/packages/geom-arc/package.json +++ b/packages/geom-arc/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-arc", - "version": "0.1.7", + "version": "0.1.8", "description": "2D circular / elliptic arc operations", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-resample": "^0.1.7", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-resample": "^0.1.8", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-clip/CHANGELOG.md b/packages/geom-clip/CHANGELOG.md index 0ea0707bfa..06c850b84d 100644 --- a/packages/geom-clip/CHANGELOG.md +++ b/packages/geom-clip/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.9...@thi.ng/geom-clip@0.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-clip + + + + + ## [0.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.8...@thi.ng/geom-clip@0.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-clip diff --git a/packages/geom-clip/package.json b/packages/geom-clip/package.json index 5b2906a3a7..f9ac8564a2 100644 --- a/packages/geom-clip/package.json +++ b/packages/geom-clip/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-clip", - "version": "0.0.9", + "version": "0.0.10", "description": "2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-isec": "^0.1.7", - "@thi.ng/geom-poly-utils": "^0.1.7", + "@thi.ng/geom-isec": "^0.1.8", + "@thi.ng/geom-poly-utils": "^0.1.8", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md index 94c402cdc9..e327b64a2f 100644 --- a/packages/geom-closest-point/CHANGELOG.md +++ b/packages/geom-closest-point/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.7...@thi.ng/geom-closest-point@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-closest-point + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.1.6...@thi.ng/geom-closest-point@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-closest-point diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json index 93de98ca10..1323d969da 100644 --- a/packages/geom-closest-point/package.json +++ b/packages/geom-closest-point/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-closest-point", - "version": "0.1.7", + "version": "0.1.8", "description": "Closest point / proximity helpers", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "ES6", diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md index 545da6d3c7..00d5ea9c8f 100644 --- a/packages/geom-hull/CHANGELOG.md +++ b/packages/geom-hull/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.9...@thi.ng/geom-hull@0.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-hull + + + + + ## [0.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.8...@thi.ng/geom-hull@0.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-hull diff --git a/packages/geom-hull/package.json b/packages/geom-hull/package.json index 34df14fec4..a382ac8d3e 100644 --- a/packages/geom-hull/package.json +++ b/packages/geom-hull/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-hull", - "version": "0.0.9", + "version": "0.0.10", "description": "Fast 2D convex hull (Graham Scan)", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md index d9440521b5..e70330c9e6 100644 --- a/packages/geom-isec/CHANGELOG.md +++ b/packages/geom-isec/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.7...@thi.ng/geom-isec@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-isec + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.1.6...@thi.ng/geom-isec@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-isec diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json index e483289641..0957fb10f6 100644 --- a/packages/geom-isec/package.json +++ b/packages/geom-isec/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isec", - "version": "0.1.7", + "version": "0.1.8", "description": "2D/3D shape intersection checks", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-closest-point": "^0.1.7", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-closest-point": "^0.1.8", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md index 36d77811ee..de35fe26f6 100644 --- a/packages/geom-isoline/CHANGELOG.md +++ b/packages/geom-isoline/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.7...@thi.ng/geom-isoline@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-isoline + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.6...@thi.ng/geom-isoline@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-isoline diff --git a/packages/geom-isoline/package.json b/packages/geom-isoline/package.json index 5aa1de7227..e6ea51c429 100644 --- a/packages/geom-isoline/package.json +++ b/packages/geom-isoline/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-isoline", - "version": "0.1.7", + "version": "0.1.8", "description": "Fast 2D contour line extraction / generation", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md index 06882bce8c..de49fc618e 100644 --- a/packages/geom-poly-utils/CHANGELOG.md +++ b/packages/geom-poly-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.7...@thi.ng/geom-poly-utils@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-poly-utils + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.6...@thi.ng/geom-poly-utils@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-poly-utils diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json index eed362cb2b..ef1887f93c 100644 --- a/packages/geom-poly-utils/package.json +++ b/packages/geom-poly-utils/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-poly-utils", - "version": "0.1.7", + "version": "0.1.8", "description": "Polygon / triangle analysis & processing utilities", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/geom-api": "^0.1.7", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md index 7347981644..1ba4d4fd55 100644 --- a/packages/geom-resample/CHANGELOG.md +++ b/packages/geom-resample/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.7...@thi.ng/geom-resample@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-resample + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.6...@thi.ng/geom-resample@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-resample diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json index 37afced1a5..8ac60c598b 100644 --- a/packages/geom-resample/package.json +++ b/packages/geom-resample/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-resample", - "version": "0.1.7", + "version": "0.1.8", "description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation", "module": "./index.js", "main": "./lib/index.js", @@ -32,11 +32,11 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-closest-point": "^0.1.7", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-closest-point": "^0.1.8", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md index 65dd4d5b7e..a7af7b51a9 100644 --- a/packages/geom-splines/CHANGELOG.md +++ b/packages/geom-splines/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.7...@thi.ng/geom-splines@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-splines + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.6...@thi.ng/geom-splines@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-splines diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json index f448733599..0e84b4fcd9 100644 --- a/packages/geom-splines/package.json +++ b/packages/geom-splines/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-splines", - "version": "0.1.7", + "version": "0.1.8", "description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting", "module": "./index.js", "main": "./lib/index.js", @@ -32,12 +32,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-arc": "^0.1.7", - "@thi.ng/geom-resample": "^0.1.7", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-arc": "^0.1.8", + "@thi.ng/geom-resample": "^0.1.8", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md index ce1758c091..529dd6b4eb 100644 --- a/packages/geom-subdiv-curve/CHANGELOG.md +++ b/packages/geom-subdiv-curve/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.6...@thi.ng/geom-subdiv-curve@0.1.7) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-subdiv-curve + + + + + ## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.5...@thi.ng/geom-subdiv-curve@0.1.6) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-subdiv-curve diff --git a/packages/geom-subdiv-curve/package.json b/packages/geom-subdiv-curve/package.json index b7938b9bc1..96854464ae 100644 --- a/packages/geom-subdiv-curve/package.json +++ b/packages/geom-subdiv-curve/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-subdiv-curve", - "version": "0.1.6", + "version": "0.1.7", "description": "Freely customizable, iterative subdivision curves for open / closed input geometries", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md index 185f39a028..a25b2f4766 100644 --- a/packages/geom-tessellate/CHANGELOG.md +++ b/packages/geom-tessellate/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.7...@thi.ng/geom-tessellate@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-tessellate + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.6...@thi.ng/geom-tessellate@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-tessellate diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json index 26833a3044..c1743b3695 100644 --- a/packages/geom-tessellate/package.json +++ b/packages/geom-tessellate/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-tessellate", - "version": "0.1.7", + "version": "0.1.8", "description": "2D/3D polygon tessellators", "module": "./index.js", "main": "./lib/index.js", @@ -32,12 +32,12 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-isec": "^0.1.7", - "@thi.ng/geom-poly-utils": "^0.1.7", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-isec": "^0.1.8", + "@thi.ng/geom-poly-utils": "^0.1.8", + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md index 0a6ef19d23..0779cd6943 100644 --- a/packages/geom-voronoi/CHANGELOG.md +++ b/packages/geom-voronoi/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.7...@thi.ng/geom-voronoi@0.1.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom-voronoi + + + + + ## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.6...@thi.ng/geom-voronoi@0.1.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom-voronoi diff --git a/packages/geom-voronoi/package.json b/packages/geom-voronoi/package.json index 62f4d7f47a..c7867eaed4 100644 --- a/packages/geom-voronoi/package.json +++ b/packages/geom-voronoi/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom-voronoi", - "version": "0.1.7", + "version": "0.1.8", "description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation", "module": "./index.js", "main": "./lib/index.js", @@ -33,13 +33,13 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-clip": "^0.0.9", - "@thi.ng/geom-isec": "^0.1.7", - "@thi.ng/geom-poly-utils": "^0.1.7", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-clip": "^0.0.10", + "@thi.ng/geom-isec": "^0.1.8", + "@thi.ng/geom-poly-utils": "^0.1.8", "@thi.ng/math": "^1.1.1", "@thi.ng/quad-edge": "^0.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md index 55db7025ed..f1237fc455 100644 --- a/packages/geom/CHANGELOG.md +++ b/packages/geom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.2.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.12...@thi.ng/geom@1.2.13) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/geom + + + + + ## [1.2.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.2.11...@thi.ng/geom@1.2.12) (2019-03-10) **Note:** Version bump only for package @thi.ng/geom diff --git a/packages/geom/package.json b/packages/geom/package.json index 470bf0b32f..c1c270f737 100644 --- a/packages/geom/package.json +++ b/packages/geom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/geom", - "version": "1.2.12", + "version": "1.2.13", "description": "2D geometry types, polymorphic operations, SVG generation", "module": "./index.js", "main": "./lib/index.js", @@ -33,30 +33,30 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compose": "^1.2.0", "@thi.ng/defmulti": "^1.0.4", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/geom-api": "^0.1.6", - "@thi.ng/geom-arc": "^0.1.7", - "@thi.ng/geom-clip": "^0.0.9", - "@thi.ng/geom-closest-point": "^0.1.7", - "@thi.ng/geom-hull": "^0.0.9", - "@thi.ng/geom-isec": "^0.1.7", - "@thi.ng/geom-poly-utils": "^0.1.7", - "@thi.ng/geom-resample": "^0.1.7", - "@thi.ng/geom-splines": "^0.1.7", - "@thi.ng/geom-subdiv-curve": "^0.1.6", - "@thi.ng/geom-tessellate": "^0.1.7", - "@thi.ng/hiccup": "^3.1.2", - "@thi.ng/hiccup-svg": "^3.1.12", + "@thi.ng/geom-api": "^0.1.7", + "@thi.ng/geom-arc": "^0.1.8", + "@thi.ng/geom-clip": "^0.0.10", + "@thi.ng/geom-closest-point": "^0.1.8", + "@thi.ng/geom-hull": "^0.0.10", + "@thi.ng/geom-isec": "^0.1.8", + "@thi.ng/geom-poly-utils": "^0.1.8", + "@thi.ng/geom-resample": "^0.1.8", + "@thi.ng/geom-splines": "^0.1.8", + "@thi.ng/geom-subdiv-curve": "^0.1.7", + "@thi.ng/geom-tessellate": "^0.1.8", + "@thi.ng/hiccup": "^3.1.3", + "@thi.ng/hiccup-svg": "^3.1.13", "@thi.ng/math": "^1.1.1", - "@thi.ng/matrices": "^0.1.10", + "@thi.ng/matrices": "^0.1.11", "@thi.ng/random": "^1.1.2", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md index 0016817641..36ca4b7619 100644 --- a/packages/hdom-canvas/CHANGELOG.md +++ b/packages/hdom-canvas/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.5...@thi.ng/hdom-canvas@2.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hdom-canvas + + + + + ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.4...@thi.ng/hdom-canvas@2.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/hdom-canvas diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json index 02b5d48240..877aba8490 100644 --- a/packages/hdom-canvas/package.json +++ b/packages/hdom-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-canvas", - "version": "2.0.5", + "version": "2.0.6", "description": "Declarative canvas scenegraph & visualization for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.11", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/color": "^0.1.12", "@thi.ng/diff": "^3.0.4", - "@thi.ng/hdom": "^7.1.3" + "@thi.ng/hdom": "^7.1.4" }, "keywords": [ "ES6", diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md index d0b93e54b5..088b744190 100644 --- a/packages/hdom-components/CHANGELOG.md +++ b/packages/hdom-components/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.9...@thi.ng/hdom-components@3.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hdom-components + + + + + ## [3.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.8...@thi.ng/hdom-components@3.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/hdom-components diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json index b656ea5270..dd08cdaa9f 100644 --- a/packages/hdom-components/package.json +++ b/packages/hdom-components/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-components", - "version": "3.0.9", + "version": "3.0.10", "description": "Raw, skinnable UI & SVG components for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/math": "^1.1.1", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/transducers-stats": "^1.0.9", + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/transducers-stats": "^1.0.10", "@types/webgl2": "^0.0.4" }, "keywords": [ diff --git a/packages/hdom-mock/CHANGELOG.md b/packages/hdom-mock/CHANGELOG.md index a9397e46f9..1231317493 100644 --- a/packages/hdom-mock/CHANGELOG.md +++ b/packages/hdom-mock/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.6...@thi.ng/hdom-mock@1.0.7) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hdom-mock + + + + + ## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.5...@thi.ng/hdom-mock@1.0.6) (2019-03-10) **Note:** Version bump only for package @thi.ng/hdom-mock diff --git a/packages/hdom-mock/package.json b/packages/hdom-mock/package.json index 562fab133a..38073eeadd 100644 --- a/packages/hdom-mock/package.json +++ b/packages/hdom-mock/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom-mock", - "version": "1.0.6", + "version": "1.0.7", "description": "Mock base implementation for @thi.ng/hdom API", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", - "@thi.ng/hdom": "^7.1.3" + "@thi.ng/checks": "^2.1.2", + "@thi.ng/hdom": "^7.1.4" }, "keywords": [ "ES6", diff --git a/packages/hdom/CHANGELOG.md b/packages/hdom/CHANGELOG.md index 6bb659e4a4..aa2fd67266 100644 --- a/packages/hdom/CHANGELOG.md +++ b/packages/hdom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.1.3...@thi.ng/hdom@7.1.4) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hdom + + + + + ## [7.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.1.2...@thi.ng/hdom@7.1.3) (2019-03-10) **Note:** Version bump only for package @thi.ng/hdom diff --git a/packages/hdom/package.json b/packages/hdom/package.json index 636aaf41cc..8626524edb 100644 --- a/packages/hdom/package.json +++ b/packages/hdom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hdom", - "version": "7.1.3", + "version": "7.1.4", "description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/atom": "^2.0.5", + "@thi.ng/atom": "^2.0.6", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -34,11 +34,11 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/diff": "^3.0.4", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/hiccup": "^3.1.2" + "@thi.ng/hiccup": "^3.1.3" }, "keywords": [ "browser", diff --git a/packages/hiccup-carbon-icons/CHANGELOG.md b/packages/hiccup-carbon-icons/CHANGELOG.md index 6d5fda7fa0..67882d8cd3 100644 --- a/packages/hiccup-carbon-icons/CHANGELOG.md +++ b/packages/hiccup-carbon-icons/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.7...@thi.ng/hiccup-carbon-icons@1.0.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.6...@thi.ng/hiccup-carbon-icons@1.0.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/hiccup-carbon-icons diff --git a/packages/hiccup-carbon-icons/package.json b/packages/hiccup-carbon-icons/package.json index a98d148213..b796b94b5b 100644 --- a/packages/hiccup-carbon-icons/package.json +++ b/packages/hiccup-carbon-icons/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-carbon-icons", - "version": "1.0.7", + "version": "1.0.8", "description": "Full set of IBM's Carbon icons in hiccup format", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/hiccup": "^3.1.2", + "@thi.ng/hiccup": "^3.1.3", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md index edb4105cbf..b7b2d14aa4 100644 --- a/packages/hiccup-css/CHANGELOG.md +++ b/packages/hiccup-css/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.9...@thi.ng/hiccup-css@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hiccup-css + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.8...@thi.ng/hiccup-css@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/hiccup-css diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json index 9ebaa83e10..ddad48746a 100644 --- a/packages/hiccup-css/package.json +++ b/packages/hiccup-css/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-css", - "version": "1.0.9", + "version": "1.0.10", "description": "CSS from nested JS data structures", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "clojure", diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md index cac959ac7e..94dadafdf4 100644 --- a/packages/hiccup-markdown/CHANGELOG.md +++ b/packages/hiccup-markdown/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.12...@thi.ng/hiccup-markdown@1.0.13) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hiccup-markdown + + + + + ## [1.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.11...@thi.ng/hiccup-markdown@1.0.12) (2019-03-10) **Note:** Version bump only for package @thi.ng/hiccup-markdown diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json index ca1f6d282e..503361e29d 100644 --- a/packages/hiccup-markdown/package.json +++ b/packages/hiccup-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-markdown", - "version": "1.0.12", + "version": "1.0.13", "description": "Markdown serialization of hiccup DOM trees", "module": "./index.js", "main": "./lib/index.js", @@ -32,14 +32,14 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/checks": "^2.1.2", "@thi.ng/defmulti": "^1.0.4", "@thi.ng/errors": "^1.0.3", - "@thi.ng/fsm": "^2.1.5", - "@thi.ng/hiccup": "^3.1.2", + "@thi.ng/fsm": "^2.1.6", + "@thi.ng/hiccup": "^3.1.3", "@thi.ng/strings": "^1.0.5", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "ES6", diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md index dc1d141e09..f14a07bfdd 100644 --- a/packages/hiccup-svg/CHANGELOG.md +++ b/packages/hiccup-svg/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.12...@thi.ng/hiccup-svg@3.1.13) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hiccup-svg + + + + + ## [3.1.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.11...@thi.ng/hiccup-svg@3.1.12) (2019-03-10) **Note:** Version bump only for package @thi.ng/hiccup-svg diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json index a188f56993..c2b17e149c 100644 --- a/packages/hiccup-svg/package.json +++ b/packages/hiccup-svg/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup-svg", - "version": "3.1.12", + "version": "3.1.13", "description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/color": "^0.1.11", - "@thi.ng/hiccup": "^3.1.2" + "@thi.ng/checks": "^2.1.2", + "@thi.ng/color": "^0.1.12", + "@thi.ng/hiccup": "^3.1.3" }, "keywords": [ "components", diff --git a/packages/hiccup/CHANGELOG.md b/packages/hiccup/CHANGELOG.md index 75353a2ebe..e3d76f5f22 100644 --- a/packages/hiccup/CHANGELOG.md +++ b/packages/hiccup/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.1.2...@thi.ng/hiccup@3.1.3) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/hiccup + + + + + ## [3.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.1.1...@thi.ng/hiccup@3.1.2) (2019-03-10) **Note:** Version bump only for package @thi.ng/hiccup diff --git a/packages/hiccup/package.json b/packages/hiccup/package.json index db81422559..81a22ba40d 100644 --- a/packages/hiccup/package.json +++ b/packages/hiccup/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/hiccup", - "version": "3.1.2", + "version": "3.1.3", "description": "HTML/SVG/XML serialization of nested data structures, iterables & closures", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/atom": "^2.0.5", + "@thi.ng/atom": "^2.0.6", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", @@ -33,7 +33,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/iges/CHANGELOG.md b/packages/iges/CHANGELOG.md index b1c79f2688..aa6f1b72f3 100644 --- a/packages/iges/CHANGELOG.md +++ b/packages/iges/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.9...@thi.ng/iges@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/iges + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.0.8...@thi.ng/iges@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/iges diff --git a/packages/iges/package.json b/packages/iges/package.json index 8c053d13af..92ef422978 100644 --- a/packages/iges/package.json +++ b/packages/iges/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iges", - "version": "1.0.9", + "version": "1.0.10", "description": "IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/api": "^5.1.0", "@thi.ng/defmulti": "^1.0.4", "@thi.ng/strings": "^1.0.5", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "CAD", diff --git a/packages/interceptors/CHANGELOG.md b/packages/interceptors/CHANGELOG.md index d6848380d3..b975130b7f 100644 --- a/packages/interceptors/CHANGELOG.md +++ b/packages/interceptors/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.5...@thi.ng/interceptors@2.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/interceptors + + + + + ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.4...@thi.ng/interceptors@2.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/interceptors diff --git a/packages/interceptors/package.json b/packages/interceptors/package.json index 4706c6386b..3ab45dbec0 100644 --- a/packages/interceptors/package.json +++ b/packages/interceptors/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/interceptors", - "version": "2.0.5", + "version": "2.0.6", "description": "Interceptor based event bus, side effect & immutable state handling", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/atom": "^2.0.5", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/atom": "^2.0.6", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/paths": "^2.0.4" + "@thi.ng/paths": "^2.0.5" }, "keywords": [ "ES6", diff --git a/packages/iterators/CHANGELOG.md b/packages/iterators/CHANGELOG.md index 4d65c084e9..68cd744c70 100644 --- a/packages/iterators/CHANGELOG.md +++ b/packages/iterators/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.9...@thi.ng/iterators@5.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/iterators + + + + + ## [5.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.8...@thi.ng/iterators@5.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/iterators diff --git a/packages/iterators/package.json b/packages/iterators/package.json index 1a9e51c972..49322bdf1f 100644 --- a/packages/iterators/package.json +++ b/packages/iterators/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/iterators", - "version": "5.0.9", + "version": "5.0.10", "description": "clojure.core inspired, composable ES6 iterators & generators", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/dcons": "^2.0.9", + "@thi.ng/dcons": "^2.0.10", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/lsys/CHANGELOG.md b/packages/lsys/CHANGELOG.md index 9a4598fc92..53e8feef02 100644 --- a/packages/lsys/CHANGELOG.md +++ b/packages/lsys/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.3...@thi.ng/lsys@0.2.4) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/lsys + + + + + ## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.2...@thi.ng/lsys@0.2.3) (2019-03-10) **Note:** Version bump only for package @thi.ng/lsys diff --git a/packages/lsys/package.json b/packages/lsys/package.json index b9a19a9bbc..e2133aa6ba 100644 --- a/packages/lsys/package.json +++ b/packages/lsys/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/lsys", - "version": "0.2.3", + "version": "0.2.4", "description": "TODO", "module": "./index.js", "main": "./lib/index.js", @@ -37,8 +37,8 @@ "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", "@thi.ng/random": "^1.1.2", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "ES6", diff --git a/packages/malloc/CHANGELOG.md b/packages/malloc/CHANGELOG.md index 7124f0a49e..fba89e2eec 100644 --- a/packages/malloc/CHANGELOG.md +++ b/packages/malloc/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@2.0.4...@thi.ng/malloc@2.0.5) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/malloc + + + + + ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@2.0.3...@thi.ng/malloc@2.0.4) (2019-03-10) **Note:** Version bump only for package @thi.ng/malloc diff --git a/packages/malloc/package.json b/packages/malloc/package.json index 8219dcec3d..917791365e 100644 --- a/packages/malloc/package.json +++ b/packages/malloc/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/malloc", - "version": "2.0.4", + "version": "2.0.5", "description": "ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc", "module": "./index.js", "main": "./lib/index.js", @@ -34,7 +34,7 @@ "dependencies": { "@thi.ng/api": "^5.1.0", "@thi.ng/binary": "^1.0.3", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/matrices/CHANGELOG.md b/packages/matrices/CHANGELOG.md index 32b9a5f433..7a634b548e 100644 --- a/packages/matrices/CHANGELOG.md +++ b/packages/matrices/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.10...@thi.ng/matrices@0.1.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/matrices + + + + + ## [0.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.1.9...@thi.ng/matrices@0.1.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/matrices diff --git a/packages/matrices/package.json b/packages/matrices/package.json index 3d70c034e8..22047833c2 100644 --- a/packages/matrices/package.json +++ b/packages/matrices/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/matrices", - "version": "0.1.10", + "version": "0.1.11", "description": "Matrix & quaternion operations for 2D/3D geometry processing", "module": "./index.js", "main": "./lib/index.js", @@ -33,9 +33,9 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/math": "^1.1.1", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2D", diff --git a/packages/paths/CHANGELOG.md b/packages/paths/CHANGELOG.md index c3222ef239..f11d04690f 100644 --- a/packages/paths/CHANGELOG.md +++ b/packages/paths/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@2.0.4...@thi.ng/paths@2.0.5) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/paths + + + + + ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@2.0.3...@thi.ng/paths@2.0.4) (2019-03-01) **Note:** Version bump only for package @thi.ng/paths diff --git a/packages/paths/package.json b/packages/paths/package.json index e3f27a6c78..d8e7247296 100644 --- a/packages/paths/package.json +++ b/packages/paths/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/paths", - "version": "2.0.4", + "version": "2.0.5", "description": "immutable, optimized path-based object property / array accessors", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3" }, "keywords": [ diff --git a/packages/pointfree-lang/CHANGELOG.md b/packages/pointfree-lang/CHANGELOG.md index 01bec9addf..06cc519ae0 100644 --- a/packages/pointfree-lang/CHANGELOG.md +++ b/packages/pointfree-lang/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.0.7...@thi.ng/pointfree-lang@1.0.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/pointfree-lang + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.0.6...@thi.ng/pointfree-lang@1.0.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/pointfree-lang diff --git a/packages/pointfree-lang/package.json b/packages/pointfree-lang/package.json index 8d4be8ba41..d78aa532e0 100644 --- a/packages/pointfree-lang/package.json +++ b/packages/pointfree-lang/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/pointfree-lang", - "version": "1.0.7", + "version": "1.0.8", "description": "Forth style syntax layer/compiler for the @thi.ng/pointfree DSL", "module": "./index.js", "main": "./lib/index.js", @@ -36,7 +36,7 @@ "dependencies": { "@thi.ng/api": "^5.1.0", "@thi.ng/errors": "^1.0.3", - "@thi.ng/pointfree": "^1.0.7" + "@thi.ng/pointfree": "^1.0.8" }, "keywords": [ "concatenative", diff --git a/packages/pointfree/CHANGELOG.md b/packages/pointfree/CHANGELOG.md index c4edc806d6..39abe48191 100644 --- a/packages/pointfree/CHANGELOG.md +++ b/packages/pointfree/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.0.7...@thi.ng/pointfree@1.0.8) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/pointfree + + + + + ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.0.6...@thi.ng/pointfree@1.0.7) (2019-03-10) **Note:** Version bump only for package @thi.ng/pointfree diff --git a/packages/pointfree/package.json b/packages/pointfree/package.json index 6443b5aaed..3393405d39 100644 --- a/packages/pointfree/package.json +++ b/packages/pointfree/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/pointfree", - "version": "1.0.7", + "version": "1.0.8", "description": "Pointfree functional composition / Forth style stack execution engine", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compose": "^1.2.0", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3" diff --git a/packages/poisson/CHANGELOG.md b/packages/poisson/CHANGELOG.md index 0ea16c1618..0e12fae648 100644 --- a/packages/poisson/CHANGELOG.md +++ b/packages/poisson/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.6...@thi.ng/poisson@0.2.7) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/poisson + + + + + ## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.5...@thi.ng/poisson@0.2.6) (2019-03-10) **Note:** Version bump only for package @thi.ng/poisson diff --git a/packages/poisson/package.json b/packages/poisson/package.json index 909af92c7b..b72ca823d5 100644 --- a/packages/poisson/package.json +++ b/packages/poisson/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/poisson", - "version": "0.2.6", + "version": "0.2.7", "description": "nD Poisson-disc sampling w/ support for spatial density functions and custom PRNGs", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/geom-api": "^0.1.6", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/geom-api": "^0.1.7", "@thi.ng/random": "^1.1.2", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "2d", diff --git a/packages/range-coder/CHANGELOG.md b/packages/range-coder/CHANGELOG.md index e5c6ee7f1a..9a8dee4d0a 100644 --- a/packages/range-coder/CHANGELOG.md +++ b/packages/range-coder/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.9...@thi.ng/range-coder@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/range-coder + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.8...@thi.ng/range-coder@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/range-coder diff --git a/packages/range-coder/package.json b/packages/range-coder/package.json index 56fdfb4521..46e3ec4c6a 100644 --- a/packages/range-coder/package.json +++ b/packages/range-coder/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/range-coder", - "version": "1.0.9", + "version": "1.0.10", "description": "Binary data range encoder / decoder", "module": "./index.js", "main": "./lib/index.js", @@ -24,7 +24,7 @@ "pub": "yarn build && yarn publish --access public" }, "devDependencies": { - "@thi.ng/transducers": "^5.2.0", + "@thi.ng/transducers": "^5.2.1", "@types/mocha": "^5.2.5", "@types/node": "^10.12.15", "mocha": "^5.2.0", diff --git a/packages/resolve-map/CHANGELOG.md b/packages/resolve-map/CHANGELOG.md index e50b5f7c86..68d1a6f3a2 100644 --- a/packages/resolve-map/CHANGELOG.md +++ b/packages/resolve-map/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.5...@thi.ng/resolve-map@4.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/resolve-map + + + + + ## [4.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.4...@thi.ng/resolve-map@4.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/resolve-map diff --git a/packages/resolve-map/package.json b/packages/resolve-map/package.json index 6364b7034f..6d9e68658f 100644 --- a/packages/resolve-map/package.json +++ b/packages/resolve-map/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/resolve-map", - "version": "4.0.5", + "version": "4.0.6", "description": "DAG resolution of vanilla objects & arrays with internally linked values", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/paths": "^2.0.4" + "@thi.ng/paths": "^2.0.5" }, "keywords": [ "configuration", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 05ec668af1..ffd3c13952 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@1.0.5...@thi.ng/router@1.0.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/router + + + + + ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@1.0.4...@thi.ng/router@1.0.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/router diff --git a/packages/router/package.json b/packages/router/package.json index 32c08259b9..aff3901e5e 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/router", - "version": "1.0.5", + "version": "1.0.6", "description": "Generic router for browser & non-browser based applications", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3" }, diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md index f4ed1ab540..cc0ed22b06 100644 --- a/packages/rstream-csp/CHANGELOG.md +++ b/packages/rstream-csp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.10...@thi.ng/rstream-csp@1.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-csp + + + + + ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.9...@thi.ng/rstream-csp@1.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-csp diff --git a/packages/rstream-csp/package.json b/packages/rstream-csp/package.json index 8df7e6d18d..396e47d518 100644 --- a/packages/rstream-csp/package.json +++ b/packages/rstream-csp/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-csp", - "version": "1.0.10", + "version": "1.0.11", "description": "@thi.ng/csp bridge module for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -32,8 +32,8 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/csp": "^1.0.9", - "@thi.ng/rstream": "^2.2.2" + "@thi.ng/csp": "^1.0.10", + "@thi.ng/rstream": "^2.2.3" }, "keywords": [ "bridge", diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md index d11f405abb..23c46fbd7e 100644 --- a/packages/rstream-dot/CHANGELOG.md +++ b/packages/rstream-dot/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.10...@thi.ng/rstream-dot@1.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-dot + + + + + ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.9...@thi.ng/rstream-dot@1.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-dot diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json index cc2166e89b..5fef345707 100644 --- a/packages/rstream-dot/package.json +++ b/packages/rstream-dot/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-dot", - "version": "1.0.10", + "version": "1.0.11", "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies", "module": "./index.js", "main": "./lib/index.js", @@ -32,7 +32,7 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/rstream": "^2.2.2" + "@thi.ng/rstream": "^2.2.3" }, "keywords": [ "conversion", diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md index 28ddd6ade1..807a883cde 100644 --- a/packages/rstream-gestures/CHANGELOG.md +++ b/packages/rstream-gestures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.10...@thi.ng/rstream-gestures@1.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-gestures + + + + + ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.0.9...@thi.ng/rstream-gestures@1.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-gestures diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json index 98ba9853c9..c68f83ddcf 100644 --- a/packages/rstream-gestures/package.json +++ b/packages/rstream-gestures/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-gestures", - "version": "1.0.10", + "version": "1.0.11", "description": "Unified mouse, mouse wheel & single-touch event stream abstraction", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/rstream": "^2.2.2", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/rstream": "^2.2.3", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "dataflow", diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md index 8ab7612491..dc8f513b1f 100644 --- a/packages/rstream-graph/CHANGELOG.md +++ b/packages/rstream-graph/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.10...@thi.ng/rstream-graph@3.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-graph + + + + + ## [3.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.9...@thi.ng/rstream-graph@3.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-graph diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json index 9439878698..adcd2c80d1 100644 --- a/packages/rstream-graph/package.json +++ b/packages/rstream-graph/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-graph", - "version": "3.0.10", + "version": "3.0.11", "description": "Declarative dataflow graph construction for @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/paths": "^2.0.4", - "@thi.ng/resolve-map": "^4.0.5", - "@thi.ng/rstream": "^2.2.2", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/paths": "^2.0.5", + "@thi.ng/resolve-map": "^4.0.6", + "@thi.ng/rstream": "^2.2.3", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "compute", diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md index 3c899bfc17..1a28558ead 100644 --- a/packages/rstream-log/CHANGELOG.md +++ b/packages/rstream-log/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.10...@thi.ng/rstream-log@2.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-log + + + + + ## [2.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@2.0.9...@thi.ng/rstream-log@2.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-log diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json index 2e66a7e0ce..b7f4f5a753 100644 --- a/packages/rstream-log/package.json +++ b/packages/rstream-log/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-log", - "version": "2.0.10", + "version": "2.0.11", "description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream", "module": "./index.js", "main": "./lib/index.js", @@ -33,10 +33,10 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.2", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/rstream": "^2.2.3", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "ES6", diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md index d1bf2cf6d0..ba2d283103 100644 --- a/packages/rstream-query/CHANGELOG.md +++ b/packages/rstream-query/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.10...@thi.ng/rstream-query@1.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream-query + + + + + ## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.9...@thi.ng/rstream-query@1.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream-query diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json index dc298274d6..fbb9cf426f 100644 --- a/packages/rstream-query/package.json +++ b/packages/rstream-query/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream-query", - "version": "1.0.10", + "version": "1.0.11", "description": "@thi.ng/rstream based triple store & reactive query engine", "module": "./index.js", "main": "./lib/index.js", @@ -33,13 +33,13 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/associative": "^1.0.9", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/associative": "^1.0.10", + "@thi.ng/checks": "^2.1.2", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", - "@thi.ng/rstream": "^2.2.2", - "@thi.ng/rstream-dot": "^1.0.10", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/rstream": "^2.2.3", + "@thi.ng/rstream-dot": "^1.0.11", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "dataflow", diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md index 89e90047eb..8af1e2842e 100644 --- a/packages/rstream/CHANGELOG.md +++ b/packages/rstream/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.2...@thi.ng/rstream@2.2.3) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/rstream + + + + + ## [2.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.2.1...@thi.ng/rstream@2.2.2) (2019-03-10) **Note:** Version bump only for package @thi.ng/rstream diff --git a/packages/rstream/package.json b/packages/rstream/package.json index 69a875a186..ed1e20278d 100644 --- a/packages/rstream/package.json +++ b/packages/rstream/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/rstream", - "version": "2.2.2", + "version": "2.2.3", "description": "Reactive multi-tap streams, dataflow & transformation pipeline constructs", "module": "./index.js", "main": "./lib/index.js", @@ -33,12 +33,12 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/associative": "^1.0.9", - "@thi.ng/atom": "^2.0.5", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/associative": "^1.0.10", + "@thi.ng/atom": "^2.0.6", + "@thi.ng/checks": "^2.1.2", "@thi.ng/errors": "^1.0.3", - "@thi.ng/paths": "^2.0.4", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/paths": "^2.0.5", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "datastructure", diff --git a/packages/sax/CHANGELOG.md b/packages/sax/CHANGELOG.md index 104aeb9d94..8a66377bf6 100644 --- a/packages/sax/CHANGELOG.md +++ b/packages/sax/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.9...@thi.ng/sax@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/sax + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.8...@thi.ng/sax@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/sax diff --git a/packages/sax/package.json b/packages/sax/package.json index 5114adc2d9..b9e43f905b 100644 --- a/packages/sax/package.json +++ b/packages/sax/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sax", - "version": "1.0.9", + "version": "1.0.10", "description": "Transducer-based, SAX-like, non-validating, speedy & tiny XML parser", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/transducers": "^5.2.0", - "@thi.ng/transducers-fsm": "^1.0.9" + "@thi.ng/transducers": "^5.2.1", + "@thi.ng/transducers-fsm": "^1.0.10" }, "keywords": [ "ES6", diff --git a/packages/sparse/CHANGELOG.md b/packages/sparse/CHANGELOG.md index 413af9cd51..8833421e60 100644 --- a/packages/sparse/CHANGELOG.md +++ b/packages/sparse/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.5...@thi.ng/sparse@0.1.6) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/sparse + + + + + ## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.4...@thi.ng/sparse@0.1.5) (2019-03-10) **Note:** Version bump only for package @thi.ng/sparse diff --git a/packages/sparse/package.json b/packages/sparse/package.json index eba11b4c1e..8e1ac487a0 100644 --- a/packages/sparse/package.json +++ b/packages/sparse/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/sparse", - "version": "0.1.5", + "version": "0.1.6", "description": "Sparse vector & matrix implementations", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "adjacency", diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md index e56c62a969..953a97223a 100644 --- a/packages/transducers-binary/CHANGELOG.md +++ b/packages/transducers-binary/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.3.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.2...@thi.ng/transducers-binary@0.3.3) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/transducers-binary + + + + + ## [0.3.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.1...@thi.ng/transducers-binary@0.3.2) (2019-03-10) **Note:** Version bump only for package @thi.ng/transducers-binary diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json index fbfed45409..ec95b50af3 100644 --- a/packages/transducers-binary/package.json +++ b/packages/transducers-binary/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-binary", - "version": "0.3.2", + "version": "0.3.3", "description": "Binary data related transducers & reducers", "module": "./index.js", "main": "./lib/index.js", @@ -35,7 +35,7 @@ "@thi.ng/compose": "^1.2.0", "@thi.ng/random": "^1.1.2", "@thi.ng/strings": "^1.0.5", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "base64", diff --git a/packages/transducers-fsm/CHANGELOG.md b/packages/transducers-fsm/CHANGELOG.md index b32632dfd2..38ed49aa3e 100644 --- a/packages/transducers-fsm/CHANGELOG.md +++ b/packages/transducers-fsm/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.9...@thi.ng/transducers-fsm@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/transducers-fsm + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.8...@thi.ng/transducers-fsm@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/transducers-fsm diff --git a/packages/transducers-fsm/package.json b/packages/transducers-fsm/package.json index 39337c0ad1..6f068dbc1d 100644 --- a/packages/transducers-fsm/package.json +++ b/packages/transducers-fsm/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-fsm", - "version": "1.0.9", + "version": "1.0.10", "description": "Transducer-based Finite State Machine transformer", "module": "./index.js", "main": "./lib/index.js", @@ -33,7 +33,7 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "ES6", diff --git a/packages/transducers-hdom/CHANGELOG.md b/packages/transducers-hdom/CHANGELOG.md index 6d2a08ead7..9395ce4442 100644 --- a/packages/transducers-hdom/CHANGELOG.md +++ b/packages/transducers-hdom/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.10...@thi.ng/transducers-hdom@2.0.11) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/transducers-hdom + + + + + ## [2.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.9...@thi.ng/transducers-hdom@2.0.10) (2019-03-10) **Note:** Version bump only for package @thi.ng/transducers-hdom diff --git a/packages/transducers-hdom/package.json b/packages/transducers-hdom/package.json index 5c8e52df3a..584009cf5a 100644 --- a/packages/transducers-hdom/package.json +++ b/packages/transducers-hdom/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-hdom", - "version": "2.0.10", + "version": "2.0.11", "description": "Transducer based UI updater for @thi.ng/hdom", "module": "./index.js", "main": "./lib/index.js", @@ -32,9 +32,9 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/hdom": "^7.1.3", - "@thi.ng/hiccup": "^3.1.2", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/hdom": "^7.1.4", + "@thi.ng/hiccup": "^3.1.3", + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "diff", diff --git a/packages/transducers-stats/CHANGELOG.md b/packages/transducers-stats/CHANGELOG.md index f971e9b2e4..8bf8452d6a 100644 --- a/packages/transducers-stats/CHANGELOG.md +++ b/packages/transducers-stats/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.9...@thi.ng/transducers-stats@1.0.10) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/transducers-stats + + + + + ## [1.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.8...@thi.ng/transducers-stats@1.0.9) (2019-03-10) **Note:** Version bump only for package @thi.ng/transducers-stats diff --git a/packages/transducers-stats/package.json b/packages/transducers-stats/package.json index c02f7cfb0d..5ff32bb58c 100644 --- a/packages/transducers-stats/package.json +++ b/packages/transducers-stats/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers-stats", - "version": "1.0.9", + "version": "1.0.10", "description": "Transducers for statistical / technical analysis", "module": "./index.js", "main": "./lib/index.js", @@ -32,10 +32,10 @@ "typescript": "^3.2.2" }, "dependencies": { - "@thi.ng/checks": "^2.1.1", - "@thi.ng/dcons": "^2.0.9", + "@thi.ng/checks": "^2.1.2", + "@thi.ng/dcons": "^2.0.10", "@thi.ng/errors": "^1.0.3", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "ES6", diff --git a/packages/transducers/CHANGELOG.md b/packages/transducers/CHANGELOG.md index 48e912931b..b6ab66c3f8 100644 --- a/packages/transducers/CHANGELOG.md +++ b/packages/transducers/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.2.0...@thi.ng/transducers@5.2.1) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/transducers + + + + + # [5.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.1.2...@thi.ng/transducers@5.2.0) (2019-03-10) diff --git a/packages/transducers/package.json b/packages/transducers/package.json index 35ff9e8232..aafbc3ef82 100644 --- a/packages/transducers/package.json +++ b/packages/transducers/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/transducers", - "version": "5.2.0", + "version": "5.2.1", "description": "Lightweight transducer implementations for ES6 / TypeScript", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/arrays": "^0.1.2", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/arrays": "^0.1.3", + "@thi.ng/checks": "^2.1.2", "@thi.ng/compare": "^1.0.3", "@thi.ng/compose": "^1.2.0", "@thi.ng/equiv": "^1.0.3", diff --git a/packages/vector-pools/CHANGELOG.md b/packages/vector-pools/CHANGELOG.md index ced71ea253..d22509460d 100644 --- a/packages/vector-pools/CHANGELOG.md +++ b/packages/vector-pools/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.6...@thi.ng/vector-pools@0.2.7) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/vector-pools + + + + + ## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.5...@thi.ng/vector-pools@0.2.6) (2019-03-10) **Note:** Version bump only for package @thi.ng/vector-pools diff --git a/packages/vector-pools/package.json b/packages/vector-pools/package.json index 01adb9fd2a..30b10625d0 100644 --- a/packages/vector-pools/package.json +++ b/packages/vector-pools/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vector-pools", - "version": "0.2.6", + "version": "0.2.7", "description": "Data structures for managing & working with strided, memory mapped vectors", "module": "./index.js", "main": "./lib/index.js", @@ -33,8 +33,8 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/malloc": "^2.0.4", - "@thi.ng/vectors": "^2.4.1" + "@thi.ng/malloc": "^2.0.5", + "@thi.ng/vectors": "^2.4.2" }, "keywords": [ "ES6", diff --git a/packages/vectors/CHANGELOG.md b/packages/vectors/CHANGELOG.md index a29988484b..1678508bbd 100644 --- a/packages/vectors/CHANGELOG.md +++ b/packages/vectors/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.4.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.4.1...@thi.ng/vectors@2.4.2) (2019-03-12) + +**Note:** Version bump only for package @thi.ng/vectors + + + + + ## [2.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.4.0...@thi.ng/vectors@2.4.1) (2019-03-10) **Note:** Version bump only for package @thi.ng/vectors diff --git a/packages/vectors/package.json b/packages/vectors/package.json index 3fa5d676d5..e0b9368a84 100644 --- a/packages/vectors/package.json +++ b/packages/vectors/package.json @@ -1,6 +1,6 @@ { "name": "@thi.ng/vectors", - "version": "2.4.1", + "version": "2.4.2", "description": "Optimized 2d/3d/4d and arbitrary length vector operations", "module": "./index.js", "main": "./lib/index.js", @@ -33,13 +33,13 @@ }, "dependencies": { "@thi.ng/api": "^5.1.0", - "@thi.ng/checks": "^2.1.1", + "@thi.ng/checks": "^2.1.2", "@thi.ng/equiv": "^1.0.3", "@thi.ng/errors": "^1.0.3", "@thi.ng/math": "^1.1.1", "@thi.ng/memoize": "^1.0.4", "@thi.ng/random": "^1.1.2", - "@thi.ng/transducers": "^5.2.0" + "@thi.ng/transducers": "^5.2.1" }, "keywords": [ "2D", From b5e1c021260e251cd6c211edf2586c8585c8f918 Mon Sep 17 00:00:00 2001 From: alberto Date: Thu, 14 Mar 2019 17:00:58 +0100 Subject: [PATCH 37/75] feat(math): more trigonometry --- packages/math/src/angle.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/packages/math/src/angle.ts b/packages/math/src/angle.ts index 1ab0757c05..fd42715d8d 100644 --- a/packages/math/src/angle.ts +++ b/packages/math/src/angle.ts @@ -38,3 +38,30 @@ export const deg = (x: number) => x * RAD2DEG; * @param x angle in degrees */ export const rad = (x: number) => x * DEG2RAD; + +/** + * Cosecant + * + * @param x angle in radians + */ +export function csc(theta: number) { + return 1 / Math.sin(theta); +} + +/** + * Secant + * + * @param x angle in radians + */ +export function sec(theta: number) { + return 1 / Math.cos(theta); +} + +/** + * Cotangent + * + * @param x angle in radians + */ +export function cot(theta: number) { + return 1 / Math.tan(theta); +} From 00f4ba0bcb8abd328b804a5860ecec4dd10a6e35 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 14 Mar 2019 21:56:44 +0000 Subject: [PATCH 38/75] docs: update main readme, add blog link (pt.4) --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f9cc628533..1e2eb67a20 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,10 @@ packages) in the [examples](./examples) directory. - [How to UI in 2018](https://medium.com/@thi.ng/how-to-ui-in-2018-ac2ae02acdf3) - "Of umbrellas, transducers, reactive streams & mushrooms" (ongoing series): - - [Part 1 - Overview](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) - - [Part 2 - Transducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) - - [Part 3 - Cellular automata](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-3-a1c4e621db9b) + - [Part 1 - Project & series overview](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-1-a8717ce3a170) + - [Part 2 - HOFs, Transducers, Reducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) + - [Part 3 - Convolution, 1D/2D Cellular automata](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-3-a1c4e621db9b) + - [Part 4 - Disjoint Sets, Graph analysis, Signed Distance Fields](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-4-62d8e71e5603) ## Projects From 0918c5bb8911974eb08e08481778e4fec9628bc5 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 14 Mar 2019 23:06:58 +0000 Subject: [PATCH 39/75] perf(adjacency): update subsets() to use canonical() --- packages/adjacency/src/disjoint-set.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/adjacency/src/disjoint-set.ts b/packages/adjacency/src/disjoint-set.ts index ac4679c152..bc5f1e4a50 100644 --- a/packages/adjacency/src/disjoint-set.ts +++ b/packages/adjacency/src/disjoint-set.ts @@ -85,10 +85,7 @@ export class DisjointSet { const sets: Map = new Map(); const roots = this.roots; for (let i = roots.length; --i >= 0; ) { - let id = i; - while (id !== roots[id]) { - id = roots[roots[id]]; - } + const id = this.canonical(i); const s = sets.get(id); if (s) { s.push(i); From 28e9898a18e538bcb409f837315529e56acfdb50 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 14 Mar 2019 23:07:47 +0000 Subject: [PATCH 40/75] feat(math): add consts --- packages/math/src/api.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/math/src/api.ts b/packages/math/src/api.ts index 263e8777bf..f073b73a55 100644 --- a/packages/math/src/api.ts +++ b/packages/math/src/api.ts @@ -5,6 +5,10 @@ export const THIRD_PI = PI / 3; export const QUARTER_PI = PI / 4; export const SIXTH_PI = PI / 6; +export const INV_PI = 1 / PI; +export const INV_TAU = 1 / TAU; +export const INV_HALF_PI = 1 / HALF_PI; + export const DEG2RAD = PI / 180; export const RAD2DEG = 180 / PI; @@ -12,6 +16,8 @@ export const PHI = (1 + Math.sqrt(5)) / 2; export const SQRT2 = Math.SQRT2; export const SQRT3 = Math.sqrt(3); +export const SQRT2_2 = SQRT2 / 2; +export const SQRT2_3 = SQRT3 / 2; export const THIRD = 1 / 3; export const TWO_THIRD = 2 / 3; From 78ed7511dc75e29b460fa6801bd0e8f21d511def Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 14 Mar 2019 23:08:32 +0000 Subject: [PATCH 41/75] feat(math): add cos/sin approximations, loc(), add docstrings --- packages/math/src/angle.ts | 138 ++++++++++++++++++++++++++++++------- 1 file changed, 115 insertions(+), 23 deletions(-) diff --git a/packages/math/src/angle.ts b/packages/math/src/angle.ts index fd42715d8d..76916d8f60 100644 --- a/packages/math/src/angle.ts +++ b/packages/math/src/angle.ts @@ -1,67 +1,159 @@ -import { DEG2RAD, HALF_PI, PI, RAD2DEG, TAU } from "./api"; +import { + DEG2RAD, + HALF_PI, + INV_HALF_PI, + PI, + RAD2DEG, + TAU +} from "./api"; +/** + * Returns vector of `[sin(theta)*n, cos(theta)*n]`. + * + * @param theta + * @param n + */ export const sincos = (theta: number, n = 1) => [ Math.sin(theta) * n, Math.cos(theta) * n ]; +/** + * Returns vector of `[cos(theta)*n, sin(theta)*n]`. + * + * @param theta + * @param n + */ export const cossin = (theta: number, n = 1) => [ Math.cos(theta) * n, Math.sin(theta) * n ]; +/** + * Projects `theta` into [0 .. 2π] interval. + * + * @param theta + */ export const absTheta = (theta: number) => ( (theta %= TAU), theta < 0 ? TAU + theta : theta ); -export const absInnerAngle = (x: number) => ( - (x = Math.abs(x)), x > PI ? TAU - x : x +export const absInnerAngle = (theta: number) => ( + (theta = Math.abs(theta)), theta > PI ? TAU - theta : theta ); +/** + * Returns smallest absolute angle difference between `a` and `b`. + * Result will be in [0 .. π] interval. + * + * @param a + * @param b + */ export const angleDist = (a: number, b: number) => absInnerAngle(absTheta((b % TAU) - (a % TAU))); +/** + * Like `Math.atan2`, but always returns angle in [0 .. TAU) interval. + * + * @param y + * @param x + */ export const atan2Abs = (y: number, x: number) => absTheta(Math.atan2(y, x)); -export const quadrant = (theta: number) => (absTheta(theta) / HALF_PI) | 0; +/** + * Returns quadrant ID (0-3) of given angle (in radians). + * + * @param theta + */ +export const quadrant = (theta: number) => (absTheta(theta) * INV_HALF_PI) | 0; /** * Converts angle to degrees. * - * @param x angle in radians + * @param theta angle in radians */ -export const deg = (x: number) => x * RAD2DEG; +export const deg = (theta: number) => theta * RAD2DEG; /** * Converts angle to radians. * - * @param x angle in degrees + * @param theta angle in degrees */ -export const rad = (x: number) => x * DEG2RAD; +export const rad = (theta: number) => theta * DEG2RAD; /** - * Cosecant + * Cosecant. Approaches `±Infinity` for `theta` near multiples of π. * - * @param x angle in radians + * @param theta angle in radians */ -export function csc(theta: number) { - return 1 / Math.sin(theta); -} +export const csc = (theta: number) => 1 / Math.sin(theta); /** - * Secant + * Secant. Approaches `±Infinity` for `theta` near π/2 ± nπ + * + * @param theta angle in radians + */ +export const sec = (theta: number) => 1 / Math.cos(theta); + +/** + * Cotangent. Approaches `±Infinity` for `theta` near multiples of π. + * + * @param theta angle in radians + */ +export const cot = (theta: number) => 1 / Math.tan(theta); + +/** + * Law of Cosines. Takes length of two sides of a triangle and the inner + * angle (in radians) between them. Returns length of third side. + * + * @param a + * @param b + * @param gamma + */ +export const loc = (a: number, b: number, gamma: number) => + Math.sqrt(a * a + b * b - 2 * a * b * Math.cos(gamma)); + +/** + * Approximates cos(xπ) for x in [-1,1] + * + * @param x + */ +export const normCos = (x: number) => { + const x2 = x * x; + return 1.0 + x2 * (-4 + 2 * x2); +}; + +const __fastCos = (x: number) => { + const x2 = x * x; + return 0.99940307 + x2 * (-0.49558072 + 0.03679168 * x2); +}; + +/** + * Fast cosine approximation using `normCos()` (polynomial). Max. error + * ~0.00059693 + * + * In [0 .. 2π] interval, approx. 18-20% faster than `Math.cos` on V8. * - * @param x angle in radians + * @param theta in radians */ -export function sec(theta: number) { - return 1 / Math.cos(theta); -} +export const fastCos = (theta: number) => { + theta %= TAU; + theta < 0 && (theta = -theta); + switch ((theta * INV_HALF_PI) | 0) { + case 0: + return __fastCos(theta); + case 1: + return -__fastCos(PI - theta); + case 2: + return -__fastCos(theta - PI); + default: + return __fastCos(TAU - theta); + } +}; /** - * Cotangent + * @see fastCos * - * @param x angle in radians + * @param theta in radians */ -export function cot(theta: number) { - return 1 / Math.tan(theta); -} +export const fastSin = (theta: number) => fastCos(HALF_PI - theta); From 83dfcfad6e605e98c5b9750d8efe85386100c183 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Thu, 14 Mar 2019 23:10:05 +0000 Subject: [PATCH 42/75] feat(examples): add OBJ point export for Wolfram demo --- examples/wolfram/src/download.ts | 29 ++++++++++++++++ examples/wolfram/src/index.ts | 59 ++++++++++++++++++++++++++++---- 2 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 examples/wolfram/src/download.ts diff --git a/examples/wolfram/src/download.ts b/examples/wolfram/src/download.ts new file mode 100644 index 0000000000..1097e53bbf --- /dev/null +++ b/examples/wolfram/src/download.ts @@ -0,0 +1,29 @@ +/** + * Helper function to trigger download of given `src` string as local + * file with filename `name` and mime `type`. Wraps `src` as blob and + * creates an object URL for download. By default, the URL auto-expires + * after 10 seconds to free up memory. + * + * @param name + * @param src + * @param type + * @param expire + */ +export function download( + name: string, + src: string, + type = "image/svg", + expire = 10000 +) { + const blob = new Blob([src], { type }); + const uri = URL.createObjectURL(blob); + const a = document.createElement("a"); + a.download = name; + a.href = uri; + document.body.appendChild(a); + a.click(); + document.body.removeChild(a); + if (uri.indexOf("blob:") === 0) { + setTimeout(() => URL.revokeObjectURL(uri), expire); + } +} diff --git a/examples/wolfram/src/index.ts b/examples/wolfram/src/index.ts index 3d747a54bc..c52a0baa6a 100644 --- a/examples/wolfram/src/index.ts +++ b/examples/wolfram/src/index.ts @@ -2,6 +2,8 @@ import { dropdown } from "@thi.ng/hdom-components"; import { fromIterable, fromRAF, + metaStream, + sidechainToggle, stream, sync } from "@thi.ng/rstream"; @@ -9,18 +11,28 @@ import { buildKernel1d, comp, convolve1d, + filter, + flatten, iterator1, lookup1d, map, range, + range2d, reducer, scan, - slidingWindow + slidingWindow, + str, + transduce, + zip } from "@thi.ng/transducers"; import { bits, randomBits } from "@thi.ng/transducers-binary"; import { updateDOM } from "@thi.ng/transducers-hdom"; +import { download } from "./download"; -const resetCA = () => [...randomBits(0.25, 128)]; +const WIDTH = 160; +const HEIGHT = 32; + +const resetCA = () => [...randomBits(0.25, WIDTH)]; const evolveCA = (src, { kernel, rule, reset }) => reset @@ -43,6 +55,8 @@ const evolveCA = (src, { kernel, rule, reset }) => const triggerReset = () => wolfram.add(fromIterable([true, false], 16), "reset"); +const triggerOBJExport = () => objExport.next(1); + const setRule = (e) => { rule.next(parseInt(e.target.value)); triggerReset(); @@ -77,6 +91,13 @@ const app = ({ id, ksize, sim }) => [ }, "Reset" ], + [ + "button.mr3.pa2", + { + onclick: triggerOBJExport + }, + "Export OBJ" + ], [ "a.link.blue", { @@ -91,6 +112,7 @@ const app = ({ id, ksize, sim }) => [ const rule = stream(); const kernel = stream(); +const objExport = metaStream(() => fromIterable([true, false], 17)); const wolfram = sync({ src: { @@ -99,7 +121,8 @@ const wolfram = sync({ map((x) => buildKernel1d([1, 2, 4, 8, 16], x)) ), _: fromRAF() - } + }, + xform: scan(reducer(resetCA, evolveCA)) }); const main = sync({ @@ -107,14 +130,38 @@ const main = sync({ id: rule, ksize: kernel, sim: wolfram.transform( - scan(reducer(resetCA, evolveCA)), - map((gen) => gen.map((x) => (x ? "█" : " ")).join("")), - slidingWindow(32), + map((gen) => gen.map((x) => " █"[x]).join("")), + slidingWindow(HEIGHT), map((win: string[]) => win.join("\n")) ) } }).transform(map(app), updateDOM()); +// Wavefront OBJ 3D pointcloud export +// attached as second subscription to wolfram stream +// uses `objExport` metastream as toggle switch to produce OBJ file +// and trigger download +wolfram + // always collect new generations + // history length same as WIDTH to export square area + .transform(slidingWindow(WIDTH)) + // sidechainToggle is only letting new values through if enabled by + // objExport stream + .subscribe(sidechainToggle(objExport, false)) + // actual OBJ conversion & export + .transform( + map((grid) => + transduce( + comp(filter((t) => !!t[1]), map(([[x, y]]) => `v ${x} ${y} 0`)), + str("\n"), + zip(range2d(WIDTH, WIDTH), flatten(grid)) + ) + ), + map((obj: string) => + download(`ca-${rule.deref()}.obj`, obj, "text/plain") + ) + ); + rule.next(105); kernel.next(3); From 5bb09d9f449828fa75738863d99136f39640b3ca Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 18 Mar 2019 04:22:43 +0000 Subject: [PATCH 43/75] refactor(associative): re-implement SortedMap / skiplist, update tests --- packages/associative/src/sorted-map.ts | 439 ++++++++++-------------- packages/associative/test/sorted-map.ts | 45 ++- 2 files changed, 198 insertions(+), 286 deletions(-) diff --git a/packages/associative/src/sorted-map.ts b/packages/associative/src/sorted-map.ts index f0237e2fee..0a3a0cfe57 100644 --- a/packages/associative/src/sorted-map.ts +++ b/packages/associative/src/sorted-map.ts @@ -1,110 +1,80 @@ import { Comparator, Fn3, - ICompare, - ICopy, - IEmpty, - IEquiv, IObjectOf, Pair, Predicate2, SEMAPHORE } from "@thi.ng/api"; -import { isArray } from "@thi.ng/checks"; import { compare } from "@thi.ng/compare"; import { equiv } from "@thi.ng/equiv"; -import { illegalArgs } from "@thi.ng/errors"; -import { - IReducible, - isReduced, - map, - ReductionFn -} from "@thi.ng/transducers"; +import { isReduced, map, ReductionFn } from "@thi.ng/transducers"; import { SortedMapOpts } from "./api"; -// stores private properties for all instances -// http://fitzgeraldnick.com/2014/01/13/hiding-implementation-details-with-e6-weakmaps.html -const __private = new WeakMap, SortedMapProps>(); - -interface SortedMapProps { - head: any[]; - tail: any[]; - update: any[]; - nil: any[]; - equiv: Predicate2; - cmp: Comparator; - level: number; - maxLevel: number; - p: number; - cap: number; +interface Skip3State { + head: Node; + cmp: Comparator; + equiv: Predicate2; + maxh: number; + h: number; length: number; + cap: number; + p: number; } -const KEY = 0; -const VAL = 1; -const PREV = 2; -const NEXT = 3; +class Node { + k: K; + v: V; + next: Node[]; -const makeNode = (level: number, key?, value?) => { - const node = new Array(4 + level); - node[KEY] = key; - node[VAL] = value; - return node; -}; + constructor(k: K, v: V, h: number) { + this.k = k; + this.v = v; + this.next = new Array(h + 1); + } +} -/** - * This class is an alternative implementation of the ES6 Map API using - * a Skip list as backing store and supports configurable key equality - * and sorting semantics. - * - * William Pugh (creator of this data structure) description: - * - * "Skip lists are probabilistic data structures that have the same - * asymptotic expected time bounds as balanced trees, are simpler, - * faster and use less space." - * - * Adapted & refactored from Python version: - * - http://pythonsweetness.tumblr.com/post/45227295342/fast-pypy-compatible-ordered-map-in-89-lines-of - * - * Data structure description: - * - ftp://ftp.cs.umd.edu/pub/skipLists/skiplists.pdf - * - https://en.wikipedia.org/wiki/Skip_list - */ -export class SortedMap extends Map - implements - ICopy>, - ICompare>, - IEmpty>, - IEquiv, - IReducible> { - static fromObject(obj: IObjectOf): SortedMap { +// stores private properties for all instances +// http://fitzgeraldnick.com/2014/01/13/hiding-implementation-details-with-e6-weakmaps.html +const __private = new WeakMap, Skip3State>(); + +export class SortedMap extends Map { + static fromObject( + obj: IObjectOf, + opts?: Partial> + ): SortedMap { const m = new SortedMap(null, { - capacity: Object.keys(obj).length + capacity: Object.keys(obj).length, + ...opts }); for (let k in obj) { - m.set(k, obj[k]); + obj.hasOwnProperty(k) && m.set(k, obj[k]); } return m; } - static readonly DEFAULT_CAP = 16; - static readonly DEFAULT_P = 1 / Math.E; + static DEFAULT_CAP = 8; + static DEFAULT_P = 1 / Math.E; - /** - * Creates new instance with optional given key-value pairs and/or - * implementation options. - * - * @param values - * @param opts - */ constructor( - values?: Iterable>, + pairs: Iterable>, opts: Partial> = {} ) { super(); - values = this.init(values, opts); - if (values) { - this.into(values); + const cap = opts.capacity || SortedMap.DEFAULT_CAP; + const maxh = Math.ceil(Math.log2(cap)); + __private.set(this, { + head: new Node(null, null, 0), + cap: Math.pow(2, maxh), + cmp: opts.compare || compare, + equiv: opts.equiv || equiv, + p: opts.probability || SortedMap.DEFAULT_P, + maxh, + length: 0, + h: 0 + }); + if (pairs) { + this.into(pairs); } } @@ -112,8 +82,40 @@ export class SortedMap extends Map return SortedMap; } - [Symbol.iterator]() { - return this.entries(); + *[Symbol.iterator](): IterableIterator> { + let node = __private.get(this).head; + while ((node = node.next[0])) { + yield [node.k, node.v]; + } + } + + *entries(key?: K, max = false): IterableIterator> { + const $this = __private.get(this); + let node = $this.head; + const cmp = $this.cmp; + let code: number; + if (max) { + while ((node = node.next[0])) { + if (key === undefined || (code = cmp(node.k, key)) <= 0) { + yield [node.k, node.v]; + if (code === 0) return; + } + } + } else { + while ((node = node.next[0])) { + if (key === undefined || (code = cmp(node.k, key)) >= 0) { + yield [node.k, node.v]; + } + } + } + } + + keys(key?: K): IterableIterator { + return map((p) => p[0], this.entries(key)); + } + + values(key?: K): IterableIterator { + return map((p) => p[1], this.entries(key)); } get size() { @@ -121,7 +123,10 @@ export class SortedMap extends Map } clear() { - this.init(null, { ...this.opts(), capacity: SortedMap.DEFAULT_CAP }); + const $this = __private.get(this); + $this.head = new Node(null, null, 0); + $this.length = 0; + $this.h = 0; } empty(): SortedMap { @@ -136,8 +141,8 @@ export class SortedMap extends Map } compare(o: Map) { - const n = this.size, - m = o.size; + const n = this.size; + const m = o.size; if (n < m) return -1; if (n > m) return 1; const i = this.entries(); @@ -174,93 +179,85 @@ export class SortedMap extends Map } first(): Pair { - const node = __private.get(this).head[NEXT]; - if (node[KEY] !== undefined) { - return [node[KEY], node[VAL]]; - } + const node = __private.get(this).head.next[0]; + return node ? [node.k, node.v] : undefined; } - forEach(fn: Fn3, void>, thisArg?: any) { - for (let p of this) { - fn.call(thisArg, p[1], p[0], this); - } + get(k: K, notFound?: V) { + const node = this.findPredNode(k).next[0]; + return node && __private.get(this).cmp(node.k, k) === 0 + ? node.v + : notFound; } - set(key: K, value: V) { - let $this = __private.get(this); - const update = $this.update.slice(); - let node = this.findLessAndUpdate(update, key); - let prev = node; - node = node[NEXT]; - if ($this.equiv(node[KEY], key)) node[VAL] = value; - else { - if ($this.length >= $this.cap) { - this.grow(); - $this = __private.get(this); - prev = this.findLessAndUpdate(update, key); - } - const newLevel = this.randomLevel(); - $this.level = Math.max($this.level, newLevel); - node = makeNode(newLevel, key, value); - node[PREV] = prev; - for (let i = 0; i <= newLevel; i++) { - const j = i + NEXT; - node[j] = update[i][j]; - update[i][j] = node; - } - if (node[NEXT] === $this.nil) { - $this.tail = node; - } else { - node[NEXT][PREV] = node; - } - $this.length++; - } - return this; + has(key: K) { + return this.get(key, SEMAPHORE) !== SEMAPHORE; } - delete(key: K) { + set(k: K, v: V) { const $this = __private.get(this); - const update = $this.update.slice(); - let node = this.findLessAndUpdate(update, key)[NEXT]; - if ($this.equiv(node[KEY], key)) { - node[NEXT][PREV] = update[0]; - for (let i = 0; i <= $this.level; i++) { - const j = i + NEXT; - if (update[i][j] !== node) { - break; - } - update[i][j] = node[j]; - } + let node = $this.head; + let level = $this.h; + let stack = new Array(level); + const cmp = $this.cmp; + let code: number; + while (level >= 0) { while ( - $this.level > 0 && - $this.head[$this.level + NEXT][KEY] === undefined + node.next[level] && + (code = cmp(node.next[level].k, k)) < 0 ) { - $this.level--; + node = node.next[level]; } - if ($this.tail === node) { - $this.tail = node[PREV]; + if (node.next[level] && code === 0) { + do { + node.next[level].v = v; + } while (--level >= 0); + return this; } - $this.length--; - return true; + stack[level--] = node; } - return false; - } - - dissoc(...keys: K[]) { - for (let k of keys) { - this.delete(k); + const h = this.pickHeight($this.maxh, $this.h, $this.p); + node = new Node(k, v, h); + while ($this.h < h) { + stack[++$this.h] = $this.head; + } + for (let i = 0; i <= h; i++) { + node.next[i] = stack[i].next[i]; + stack[i].next[i] = node; + } + $this.length++; + if ($this.length >= $this.cap) { + $this.cap *= 2; + $this.maxh++; } return this; } - has(key: K) { - return this.get(key, SEMAPHORE) !== SEMAPHORE; - } - - get(key: K, notFound?: any) { + delete(k: K) { const $this = __private.get(this); - const node = this.findLess(key)[NEXT]; - return $this.equiv(node[KEY], key) ? node[VAL] : notFound; + let node: Node = $this.head; + let level = $this.h; + let removed = false; + const cmp = $this.cmp; + let code: number; + while (level >= 0) { + while ( + node.next[level] && + (code = cmp(node.next[level].k, k)) < 0 + ) { + node = node.next[level]; + } + if (node.next[level] && code === 0) { + removed = true; + node.next[level] = node.next[level].next[level]; + if (node == $this.head && !node.next[level]) { + $this.h = Math.max(0, $this.h - 1); + } + } + level--; + } + if (removed) $this.length--; + return removed; } into(pairs: Iterable>) { @@ -270,139 +267,57 @@ export class SortedMap extends Map return this; } - $reduce(rfn: ReductionFn>, acc: any) { - const $this = __private.get(this); - let node = $this.head[NEXT]; - while (node[KEY] !== undefined && !isReduced(acc)) { - acc = rfn(acc, [node[KEY], node[VAL]]); - node = node[NEXT]; + dissoc(...keys: K[]) { + for (let k of keys) { + this.delete(k); } - return acc; + return this; } - *entries(key?: K, reverse = false): IterableIterator> { - const $this = __private.get(this); - const step = reverse ? PREV : NEXT; - let node = reverse ? $this.tail : $this.head[NEXT]; - if (key !== undefined) { - const found = this.findLess(key); - // the original python impl doesn't handle unknown and out-of-range keys properly - node = - !reverse || - (found[NEXT] != $this.nil && $this.equiv(found[NEXT][KEY], key)) - ? found[NEXT] - : found; - } - while (node[KEY] !== undefined) { - yield [node[KEY], node[VAL]]; - node = node[step]; + forEach(fn: Fn3, void>, thisArg?: any) { + for (let p of this) { + fn.call(thisArg, p[1], p[0], this); } } - keys(key?: K, reverse = false): IterableIterator { - return map((p) => p[0], this.entries(key, reverse)); - } - - values(key?: K, reverse = false): IterableIterator { - return map((p) => p[1], this.entries(key, reverse)); - } - - protected init( - values: Iterable>, - opts: Partial> - ) { - let cap; - if (values && !opts.capacity) { - values = isArray(values) ? values : [...values]; - cap = Math.max((values).length, SortedMap.DEFAULT_CAP); - } else { - cap = opts.capacity || SortedMap.DEFAULT_CAP; + $reduce(rfn: ReductionFn>, acc: any) { + let node = __private.get(this).head; + while ((node = node.next[0]) && !isReduced(acc)) { + acc = rfn(acc, [node.k, node.v]); } - cap < 1 && illegalArgs(`invalid capacity: ${cap}`); - const maxLevel = Math.ceil(Math.log2(cap)); - const nil = makeNode(-1); - const head = makeNode(maxLevel).fill(nil, 3); - const update = new Array(maxLevel + 1).fill(head); - __private.set(this, { - head, - update, - nil, - tail: nil, - equiv: opts.equiv || equiv, - cmp: opts.compare || compare, - level: 0, - maxLevel, - p: opts.probability || SortedMap.DEFAULT_P, - cap: Math.pow(2, maxLevel), - length: 0 - }); - return values; + return acc; } - opts(growFactor = 1): SortedMapOpts { + opts(): SortedMapOpts { const $this = __private.get(this); return { - capacity: $this.cap * growFactor, - equiv: $this.equiv, + capacity: $this.cap, compare: $this.cmp, + equiv: $this.equiv, probability: $this.p }; } - /** - * Recreates map with double capacity. - */ - protected grow() { - const tmp = new SortedMap(this.entries(), this.opts(2)); - __private.set(this, __private.get(tmp)); - __private.delete(tmp); - } - - protected randomLevel() { - const $this = __private.get(this); - const max = Math.min($this.maxLevel, $this.level + 1); - const p = $this.p; - let level = 0; - while (Math.random() < p && level < max) { - level++; - } - return level; - } - - protected findLess(key: K) { + protected findPredNode(k: K) { const $this = __private.get(this); const cmp = $this.cmp; let node = $this.head; - for (let i = $this.level; i >= 0; i--) { - const j = i + NEXT; - let k = node[j][KEY]; - while (k !== undefined && cmp(k, key) < 0) { - node = node[j]; - k = node[j][KEY]; + let level = $this.h; + while (level >= 0) { + while (node.next[level] && cmp(node.next[level].k, k) < 0) { + node = node.next[level]; } + level--; } return node; } - /** - * Like `findLess`, but records path in `update` array - * - * @param update - * @param key - */ - protected findLessAndUpdate(update, key: K) { - const $this = __private.get(this); - const cmp = $this.cmp; - let node = $this.head; - for (let i = $this.level; i >= 0; i--) { - const j = i + NEXT; - let k = node[j][KEY]; - while (k !== undefined && cmp(k, key) < 0) { - node = node[j]; - k = node[j][KEY]; - } - update[i] = node; + protected pickHeight(maxh: number, h: number, p: number) { + const max = Math.min(maxh, h + 1); + let level = 0; + while (Math.random() < p && level < max) { + level++; } - return node; + return level; } } diff --git a/packages/associative/test/sorted-map.ts b/packages/associative/test/sorted-map.ts index 9b94d3b9dd..a4e6e36d1a 100644 --- a/packages/associative/test/sorted-map.ts +++ b/packages/associative/test/sorted-map.ts @@ -1,16 +1,13 @@ import * as assert from "assert"; - import { SortedMap } from "../src/sorted-map"; describe("SortedMap", () => { - let m: SortedMap; beforeEach(() => { m = SortedMap.fromObject({ a: 1, b: 2, c: 3 }); }); - it("size", () => { assert.equal(m.size, 3); m.set("a", 10); @@ -45,57 +42,57 @@ describe("SortedMap", () => { assert.deepEqual([...m], [["a", 1], ["b", 2], ["c", 3]]); }); - it("entries rev", () => { - assert.deepEqual([...m.entries(undefined, true)], [["c", 3], ["b", 2], ["a", 1]]); - }); + // it("entries rev", () => { + // assert.deepEqual([...m.entries(undefined, true)], [["c", 3], ["b", 2], ["a", 1]]); + // }); it("entries a", () => { assert.deepEqual([...m.entries("a")], [["a", 1], ["b", 2], ["c", 3]]); }); - it("entries a rev", () => { - assert.deepEqual([...m.entries("a", true)], [["a", 1]]); - }); + // it("entries a rev", () => { + // assert.deepEqual([...m.entries("a", true)], [["a", 1]]); + // }); it("entries aa", () => { assert.deepEqual([...m.entries("aa")], [["b", 2], ["c", 3]]); }); - it("entries aa rev", () => { - assert.deepEqual([...m.entries("aa", true)], [["a", 1]]); - }); + // it("entries aa rev", () => { + // assert.deepEqual([...m.entries("aa", true)], [["a", 1]]); + // }); it("entries bb", () => { assert.deepEqual([...m.entries("bb")], [["c", 3]]); }); - it("entries bb rev", () => { - assert.deepEqual([...m.entries("bb", true)], [["b", 2], ["a", 1]]); - }); + // it("entries bb rev", () => { + // assert.deepEqual([...m.entries("bb", true)], [["b", 2], ["a", 1]]); + // }); it("entries c", () => { assert.deepEqual([...m.entries("c")], [["c", 3]]); }); - it("entries c rev", () => { - assert.deepEqual([...m.entries("c", true)], [["c", 3], ["b", 2], ["a", 1]]); - }); + // it("entries c rev", () => { + // assert.deepEqual([...m.entries("c", true)], [["c", 3], ["b", 2], ["a", 1]]); + // }); it("entries 0", () => { assert.deepEqual([...m.entries("0")], [["a", 1], ["b", 2], ["c", 3]]); }); - it("entries 0 rev", () => { - assert.deepEqual([...m.entries("0", true)], []); - }); + // it("entries 0 rev", () => { + // assert.deepEqual([...m.entries("0", true)], []); + // }); it("entries d", () => { assert.deepEqual([...m.entries("d")], []); }); - it("entries d rev", () => { - assert.deepEqual([...m.entries("d", true)], [["c", 3], ["b", 2], ["a", 1]]); - }); + // it("entries d rev", () => { + // assert.deepEqual([...m.entries("d", true)], [["c", 3], ["b", 2], ["a", 1]]); + // }); it("keys", () => { assert.deepEqual([...m.keys()], ["a", "b", "c"]); From dcfe16ea8c88375b1f65bcc5811329a0f911f491 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 18 Mar 2019 10:16:17 +0000 Subject: [PATCH 44/75] docs(transducers): add blog links to readme --- packages/transducers/README.md | 440 +++++++++++++++++---------------- 1 file changed, 229 insertions(+), 211 deletions(-) diff --git a/packages/transducers/README.md b/packages/transducers/README.md index d263ef31ce..29fc2d166b 100644 --- a/packages/transducers/README.md +++ b/packages/transducers/README.md @@ -9,36 +9,37 @@ This project is part of the -- [About](#about) - - [5.0.0 release](#500-release) - - [Related packages](#related-packages) -- [Installation](#installation) -- [Dependencies](#dependencies) -- [Usage examples](#usage-examples) - - [Basic usage patterns](#basic-usage-patterns) - - [Fuzzy search](#fuzzy-search) - - [Histogram generation & result grouping](#histogram-generation--result-grouping) - - [Pagination](#pagination) - - [Multiplexing / parallel transducer application](#multiplexing--parallel-transducer-application) - - [Moving average using sliding window](#moving-average-using-sliding-window) - - [Benchmark function execution time](#benchmark-function-execution-time) - - [Apply inspectors to debug transducer pipeline](#apply-inspectors-to-debug-transducer-pipeline) - - [Stream parsing / structuring](#stream-parsing--structuring) - - [CSV parsing](#csv-parsing) - - [Early termination](#early-termination) - - [Scan operator](#scan-operator) - - [Weighted random choices](#weighted-random-choices) - - [Keyframe interpolation](#keyframe-interpolation) -- [API](#api) - - [Types](#types) - - [IReducible](#ireducible) - - [Transducer](#transducer) - - [Composition & execution](#composition--execution) - - [Transducers](#transducers) - - [Generators / Iterators](#generators--iterators) - - [Reducers](#reducers) -- [Authors](#authors) -- [License](#license) +- [About](#about) + - [Tutorial](#tutorial) + - [5.0.0 release](#500-release) + - [Related packages](#related-packages) +- [Installation](#installation) +- [Dependencies](#dependencies) +- [Usage examples](#usage-examples) + - [Basic usage patterns](#basic-usage-patterns) + - [Fuzzy search](#fuzzy-search) + - [Histogram generation & result grouping](#histogram-generation--result-grouping) + - [Pagination](#pagination) + - [Multiplexing / parallel transducer application](#multiplexing--parallel-transducer-application) + - [Moving average using sliding window](#moving-average-using-sliding-window) + - [Benchmark function execution time](#benchmark-function-execution-time) + - [Apply inspectors to debug transducer pipeline](#apply-inspectors-to-debug-transducer-pipeline) + - [Stream parsing / structuring](#stream-parsing--structuring) + - [CSV parsing](#csv-parsing) + - [Early termination](#early-termination) + - [Scan operator](#scan-operator) + - [Weighted random choices](#weighted-random-choices) + - [Keyframe interpolation](#keyframe-interpolation) +- [API](#api) + - [Types](#types) + - [IReducible](#ireducible) + - [Transducer](#transducer) + - [Composition & execution](#composition--execution) + - [Transducers](#transducers) + - [Generators / Iterators](#generators--iterators) + - [Reducers](#reducers) +- [Authors](#authors) +- [License](#license) @@ -62,6 +63,15 @@ transducer functions will return a transforming ES6 iterator (generator) and reducing functions will return a reduced result of the given input iterable. +### Tutorial + +There's an ongoing multi-part blog series about use cases & patterns of this +package, specifically these 3 parts: + +- [Part 2 - HOFs, Transducers, Reducers](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-2-9c540beb0023) +- [Part 3 - Convolution, 1D/2D Cellular automata](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-3-a1c4e621db9b) +- [Part 4 - Disjoint Sets, Graph analysis, Signed Distance Fields](https://medium.com/@thi.ng/of-umbrellas-transducers-reactive-streams-mushrooms-pt-4-62d8e71e5603) + ### 5.0.0 release Several previously included internal support functions have been @@ -80,19 +90,19 @@ package. #### Extended functionality -- [@thi.ng/transducers-binary](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary) - Binary data related transducers & reducers -- [@thi.ng/transducers-fsm](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-fsm) - Fine State Machine transducer -- [@thi.ng/transducers-hdom](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-hdom) - Transducer based [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/master/packages/hdom) UI updates -- [@thi.ng/transducers-stats](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-stats) - Technical / statistical analysis transducers +- [@thi.ng/transducers-binary](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-binary) - Binary data related transducers & reducers +- [@thi.ng/transducers-fsm](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-fsm) - Fine State Machine transducer +- [@thi.ng/transducers-hdom](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-hdom) - Transducer based [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/master/packages/hdom) UI updates +- [@thi.ng/transducers-stats](https://github.com/thi-ng/umbrella/tree/master/packages/transducers-stats) - Technical / statistical analysis transducers #### Packages utilizing transducers -- [@thi.ng/csp](https://github.com/thi-ng/umbrella/tree/master/packages/csp) -- [@thi.ng/fsm](https://github.com/thi-ng/umbrella/tree/master/packages/fsm) -- [@thi.ng/rstream](https://github.com/thi-ng/umbrella/tree/master/packages/rstream) -- [@thi.ng/rstream-graph](https://github.com/thi-ng/umbrella/tree/master/packages/rstream-graph) -- [@thi.ng/rstream-log](https://github.com/thi-ng/umbrella/tree/master/packages/rstream-log) -- [@thi.ng/sax](https://github.com/thi-ng/umbrella/tree/master/packages/sax) +- [@thi.ng/csp](https://github.com/thi-ng/umbrella/tree/master/packages/csp) +- [@thi.ng/fsm](https://github.com/thi-ng/umbrella/tree/master/packages/fsm) +- [@thi.ng/rstream](https://github.com/thi-ng/umbrella/tree/master/packages/rstream) +- [@thi.ng/rstream-graph](https://github.com/thi-ng/umbrella/tree/master/packages/rstream-graph) +- [@thi.ng/rstream-log](https://github.com/thi-ng/umbrella/tree/master/packages/rstream-log) +- [@thi.ng/sax](https://github.com/thi-ng/umbrella/tree/master/packages/sax) ## Installation @@ -102,13 +112,13 @@ yarn add @thi.ng/transducers ## Dependencies -- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) -- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/master/packages/checks) -- [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/master/packages/compare) -- [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/master/packages/compose) -- [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/master/packages/equiv) -- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) -- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/master/packages/strings) +- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/master/packages/api) +- [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/master/packages/checks) +- [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/master/packages/compare) +- [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/master/packages/compose) +- [@thi.ng/equiv](https://github.com/thi-ng/umbrella/tree/master/packages/equiv) +- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/master/packages/errors) +- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/master/packages/strings) ## Usage examples @@ -194,29 +204,29 @@ f = tx.step(take) ```ts // use the `frequencies` reducer to create // a map counting occurrence of each value -tx.transduce(tx.map(x => x.toUpperCase()), tx.frequencies(), "hello world") +tx.transduce(tx.map((x) => x.toUpperCase()), tx.frequencies(), "hello world"); // Map { 'H' => 1, 'E' => 1, 'L' => 3, 'O' => 2, ' ' => 1, 'W' => 1, 'R' => 1, 'D' => 1 } // reduction only (no transform) -tx.reduce(tx.frequencies(), [1, 1, 1, 2, 3, 4, 4]) +tx.reduce(tx.frequencies(), [1, 1, 1, 2, 3, 4, 4]); // Map { 1 => 3, 2 => 1, 3 => 1, 4 => 2 } // direct reduction if input is given -tx.frequencies([1, 1, 1, 2, 3, 4, 4]) +tx.frequencies([1, 1, 1, 2, 3, 4, 4]); // Map { 1 => 3, 2 => 1, 3 => 1, 4 => 2 } // with optional key function, here to bin by word length tx.frequencies( - x => x.length, + (x) => x.length, "my camel is collapsing and needs some water".split(" ") -) +); // Map { 2 => 2, 5 => 3, 10 => 1, 3 => 1, 4 => 1 } // actual grouping (here: by word length) tx.groupByMap( - { key: x => x.length }, + { key: (x) => x.length }, "my camel is collapsing and needs some water".split(" ") -) +); // Map { // 2 => [ 'my', 'is' ], // 3 => [ 'and' ], @@ -257,24 +267,24 @@ and results in a tuple or keyed object. ```ts tx.transduce( tx.multiplex( - tx.map(x => x.charAt(0)), - tx.map(x => x.toUpperCase()), - tx.map(x => x.length) + tx.map((x) => x.charAt(0)), + tx.map((x) => x.toUpperCase()), + tx.map((x) => x.length) ), tx.push(), ["Alice", "Bob", "Charlie"] -) +); // [ [ "A", "ALICE", 5 ], [ "B", "BOB", 3 ], [ "C", "CHARLIE", 7 ] ] tx.transduce( tx.multiplexObj({ - initial: tx.map(x => x.charAt(0)), - name: tx.map(x => x.toUpperCase()), - len: tx.map(x => x.length) + initial: tx.map((x) => x.charAt(0)), + name: tx.map((x) => x.toUpperCase()), + len: tx.map((x) => x.length) }), tx.push(), ["Alice", "Bob", "Charlie"] -) +); // [ { len: 5, name: 'ALICE', initial: 'A' }, // { len: 3, name: 'BOB', initial: 'B' }, // { len: 7, name: 'CHARLIE', initial: 'C' } ] @@ -304,14 +314,16 @@ tx.transduce( ```ts // function to test -fn = () => { let x; for(i=0; i<1e6; i++) { x = Math.cos(i); } return x; }; +fn = () => { + let x; + for (i = 0; i < 1e6; i++) { + x = Math.cos(i); + } + return x; +}; // compute the mean of 100 runs -tx.transduce( - tx.benchmark(), - tx.mean(), - tx.repeatedly(fn, 100) -); +tx.transduce(tx.benchmark(), tx.mean(), tx.repeatedly(fn, 100)); // 1.93 (milliseconds) ``` @@ -322,9 +334,9 @@ tx.transduce( tx.transduce( tx.comp( tx.trace("orig"), - tx.map(x => x + 1), + tx.map((x) => x + 1), tx.trace("mapped"), - tx.filter(x => (x & 1) > 0) + tx.filter((x) => (x & 1) > 0) ), tx.push(), [1, 2, 3, 4] @@ -342,8 +354,7 @@ tx.transduce( ### Stream parsing / structuring -The `struct` transducer is simply a composition of: `partitionOf -> -partition -> rename -> mapKeys`. [See code +The `struct` transducer is simply a composition of: `partitionOf -> partition -> rename -> mapKeys`. [See code here](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/struct.ts). ```ts @@ -352,10 +363,12 @@ here](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xf // 2 or 3 items: `[name, size, transform?]`. If `transform` is given, it will // be used to produce the final value for this field. In the example below, // it is used to unwrap the ID field values, e.g. from `[0] => 0` -[...tx.struct( - [["id", 1, (id) => id[0]], ["pos", 2], ["vel", 2], ["color", 4]], - [0, 100, 200, -1, 0, 1, 0.5, 0, 1, 1, 0, 0, 5, 4, 0, 0, 1, 1] -)] +[ + ...tx.struct( + [["id", 1, (id) => id[0]], ["pos", 2], ["vel", 2], ["color", 4]], + [0, 100, 200, -1, 0, 1, 0.5, 0, 1, 1, 0, 0, 5, 4, 0, 0, 1, 1] + ) +]; // [ { color: [ 1, 0.5, 0, 1 ], // vel: [ -1, 0 ], // pos: [ 100, 200 ], @@ -372,9 +385,9 @@ here](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xf tx.transduce( tx.comp( // split into rows - tx.mapcat(x => x.split("\n")), + tx.mapcat((x) => x.split("\n")), // split each row - tx.map(x => x.split(",")), + tx.map((x) => x.split(",")), // convert each row into object, rename array indices tx.rename({ id: 0, name: 1, alias: 2, num: "length" }) ), @@ -390,11 +403,10 @@ tx.transduce( ```ts // result is realized after max. 7 values, irrespective of nesting -tx.transduce( - tx.comp(tx.flatten(), tx.take(7)), - tx.push(), - [1, [2, [3, 4, [5, 6, [7, 8], 9, [10]]]]] -) +tx.transduce(tx.comp(tx.flatten(), tx.take(7)), tx.push(), [ + 1, + [2, [3, 4, [5, 6, [7, 8], 9, [10]]]] +]); // [1, 2, 3, 4, 5, 6, 7] ``` @@ -428,10 +440,14 @@ tx.transduce(tx.comp(tx.scan(tx.count()), tx.scan(tx.pushCopy())), tx.push(), [1 ### Weighted random choices ```ts -[...tx.take(10, tx.choices("abcd", [1, 0.5, 0.25, 0.125]))] +[...tx.take(10, tx.choices("abcd", [1, 0.5, 0.25, 0.125]))]; // [ 'a', 'a', 'b', 'a', 'a', 'b', 'a', 'c', 'd', 'b' ] -tx.transduce(tx.take(1000), tx.frequencies(), tx.choices("abcd", [1, 0.5, 0.25, 0.125])) +tx.transduce( + tx.take(1000), + tx.frequencies(), + tx.choices("abcd", [1, 0.5, 0.25, 0.125]) +); // Map { 'c' => 132, 'a' => 545, 'b' => 251, 'd' => 72 } ``` @@ -442,16 +458,18 @@ See docs for details. ```ts -[...interpolate( - 10, - 0, - 100, - (a, b) => [a, b], - ([a, b], t) => Math.floor(a + (b - a) * t), - [20, 100], - [50, 200], - [80, 0] -)] +[ + ...interpolate( + 10, + 0, + 100, + (a, b) => [a, b], + ([a, b], t) => Math.floor(a + (b - a) * t), + [20, 100], + [50, 200], + [80, 0] + ) +]; // [ 100, 100, 100, 133, 166, 200, 133, 66, 0, 0, 0 ] ``` @@ -483,17 +501,17 @@ interface Reducer extends Array { * Initialization, e.g. to provide a suitable accumulator value, * only called when no initial accumulator has been provided by user. */ - [0]: () => A, + [0]: () => A; /** * Completion. When called usually just returns `acc`, but stateful * transformers should flush/apply their outstanding results. */ - [1]: (acc: A) => A, + [1]: (acc: A) => A; /** * Reduction step. Combines new input with accumulator. * If reduction should terminate early, wrap result via `reduced()` */ - [2]: (acc: A, x: B) => A | Reduced
, + [2]: (acc: A, x: B) => A | Reduced; } // A concrete example: @@ -503,7 +521,7 @@ const push: Reducer = [ // completion (nothing to do in this case) (acc) => acc, // step - (acc, x) => (acc.push(x), acc), + (acc, x) => (acc.push(x), acc) ]; ``` @@ -540,8 +558,8 @@ via a traditional for-loop and custom optimized iterations can be provided via implementations of the `IReducible` interface in the source collection type. Examples can be found here: -- [DCons](https://github.com/thi-ng/umbrella/tree/master/packages/dcons/src/index.ts#L123) -- [SortedMap](https://github.com/thi-ng/umbrella/tree/master/packages/associative/src/sorted-map.ts#L261) +- [DCons](https://github.com/thi-ng/umbrella/tree/master/packages/dcons/src/index.ts#L123) +- [SortedMap](https://github.com/thi-ng/umbrella/tree/master/packages/associative/src/sorted-map.ts#L261) **Note:** The `IReducible` interface is only used by `reduce()`, `transduce()` and `run()`. @@ -620,7 +638,7 @@ given reducer and optional initial accumulator/result. Transforms iterable with given transducer and optional side effect without any reduction step. If `fx` is given it will be called with -every value produced by the transducer. If `fx` is *not* given, the +every value produced by the transducer. If `fx` is _not_ given, the transducer is assumed to include at least one `sideEffect()` step itself. Returns nothing. @@ -640,92 +658,92 @@ tx.transduce(tx.map((x) => x*10), tx.push(), tx.range(4)) // [ 0, 10, 20, 30 ] ``` -- [benchmark](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/benchmark.ts) -- [cat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/cat.ts) -- [converge](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/converge.ts) -- [convolve2d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/convolve.ts) -- [dedupe](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/dedupe.ts) -- [delayed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/delayed.ts) -- [distinct](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/distinct.ts) -- [dropNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop-nth.ts) -- [dropWhile](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop-while.ts) -- [drop](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop.ts) -- [duplicate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/duplicate.ts) -- [filterFuzzy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/filter-fuzzy.ts) -- [filter](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/filter.ts) -- [flattenWith](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/flatten-with.ts) -- [flatten](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/flatten.ts) -- [indexed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/indexed.ts) -- [interleave](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/interleave.ts) -- [interpose](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/interpose.ts) -- [keep](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/keep.ts) -- [labeled](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/labeled.ts) -- [mapDeep](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-deep.ts) -- [mapIndexed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-indexed.ts) -- [mapKeys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-keys.ts) -- [mapNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-nth.ts) -- [mapVals](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-vals.ts) -- [map](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map.ts) -- [mapcat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/mapcat.ts) -- [matchFirst](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/match-first.ts) -- [matchLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/match-last.ts) -- [movingAverage](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/moving-average.ts) -- [movingMedian](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/moving-median.ts) -- [multiplexObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/multiplex-obj.ts) -- [multiplex](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/multiplex.ts) -- [noop](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/noop.ts) -- [padLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/pad-last.ts) -- [page](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/page.ts) -- [partitionBy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-by.ts) -- [partitionOf](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-of.ts) -- [partitionSort](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-sort.ts) -- [partitionSync](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-sync.ts) -- [partition](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition.ts) -- [pluck](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/pluck.ts) -- [rename](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/rename.ts) -- [sample](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/sample.ts) -- [scan](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/scan.ts) -- [selectKeys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/select-keys.ts) -- [sideEffect](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/side-effect.ts) -- [slidingWindow](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/sliding-window.ts) -- [streamShuffle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/stream-shuffle.ts) -- [streamSort](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/stream-sort.ts) -- [struct](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/struct.ts) -- [swizzle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/swizzle.ts) -- [takeLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-last.ts) -- [takeNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-nth.ts) -- [takeWhile](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-while.ts) -- [take](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take.ts) -- [throttleTime](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/throttle-time.ts) -- [throttle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/throttle.ts) -- [trace](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/trace.ts) -- [wordWrap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/word-wrap.ts) +- [benchmark](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/benchmark.ts) +- [cat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/cat.ts) +- [converge](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/converge.ts) +- [convolve2d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/convolve.ts) +- [dedupe](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/dedupe.ts) +- [delayed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/delayed.ts) +- [distinct](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/distinct.ts) +- [dropNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop-nth.ts) +- [dropWhile](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop-while.ts) +- [drop](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/drop.ts) +- [duplicate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/duplicate.ts) +- [filterFuzzy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/filter-fuzzy.ts) +- [filter](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/filter.ts) +- [flattenWith](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/flatten-with.ts) +- [flatten](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/flatten.ts) +- [indexed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/indexed.ts) +- [interleave](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/interleave.ts) +- [interpose](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/interpose.ts) +- [keep](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/keep.ts) +- [labeled](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/labeled.ts) +- [mapDeep](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-deep.ts) +- [mapIndexed](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-indexed.ts) +- [mapKeys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-keys.ts) +- [mapNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-nth.ts) +- [mapVals](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map-vals.ts) +- [map](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/map.ts) +- [mapcat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/mapcat.ts) +- [matchFirst](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/match-first.ts) +- [matchLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/match-last.ts) +- [movingAverage](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/moving-average.ts) +- [movingMedian](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/moving-median.ts) +- [multiplexObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/multiplex-obj.ts) +- [multiplex](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/multiplex.ts) +- [noop](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/noop.ts) +- [padLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/pad-last.ts) +- [page](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/page.ts) +- [partitionBy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-by.ts) +- [partitionOf](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-of.ts) +- [partitionSort](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-sort.ts) +- [partitionSync](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition-sync.ts) +- [partition](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/partition.ts) +- [pluck](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/pluck.ts) +- [rename](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/rename.ts) +- [sample](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/sample.ts) +- [scan](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/scan.ts) +- [selectKeys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/select-keys.ts) +- [sideEffect](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/side-effect.ts) +- [slidingWindow](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/sliding-window.ts) +- [streamShuffle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/stream-shuffle.ts) +- [streamSort](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/stream-sort.ts) +- [struct](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/struct.ts) +- [swizzle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/swizzle.ts) +- [takeLast](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-last.ts) +- [takeNth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-nth.ts) +- [takeWhile](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take-while.ts) +- [take](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/take.ts) +- [throttleTime](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/throttle-time.ts) +- [throttle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/throttle.ts) +- [trace](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/trace.ts) +- [wordWrap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/xform/word-wrap.ts) ### Generators / Iterators -- [choices](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/choices.ts) -- [concat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/concat.ts) -- [cycle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/cycle.ts) -- [interpolate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/interpolate.ts) -- [iterate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/iterate.ts) -- [keys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/keys.ts) -- [normRange](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/normRange.ts) -- [pairs](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/pairs.ts) -- [permutations](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/permutations.ts) -- [permutationsN](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/permutationsN.ts) -- [range](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range.ts) -- [range2d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range2d.ts) -- [range3d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range3d.ts) -- [repeat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/repeat.ts) -- [repeatedly](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/repeatedly.ts) -- [reverse](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/reverse.ts) -- [tuples](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/zip.ts) (deprecated, use `zip`) -- [vals](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/vals.ts) -- [wrapBoth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapBoth.ts) -- [wrapLeft](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapLeft.ts) -- [wrapRight](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapRight.ts) -- [wrap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrap.ts) -- [zip](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/zip.ts) +- [choices](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/choices.ts) +- [concat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/concat.ts) +- [cycle](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/cycle.ts) +- [interpolate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/interpolate.ts) +- [iterate](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/iterate.ts) +- [keys](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/keys.ts) +- [normRange](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/normRange.ts) +- [pairs](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/pairs.ts) +- [permutations](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/permutations.ts) +- [permutationsN](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/permutationsN.ts) +- [range](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range.ts) +- [range2d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range2d.ts) +- [range3d](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/range3d.ts) +- [repeat](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/repeat.ts) +- [repeatedly](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/repeatedly.ts) +- [reverse](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/reverse.ts) +- [tuples](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/zip.ts) (deprecated, use `zip`) +- [vals](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/vals.ts) +- [wrapBoth](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapBoth.ts) +- [wrapLeft](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapLeft.ts) +- [wrapRight](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrapRight.ts) +- [wrap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/wrap.ts) +- [zip](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/iter/zip.ts) ### Reducers @@ -733,35 +751,35 @@ As with transducer functions, reducer functions can also given an optional input iterable. If done so, the function will consume the input and return a reduced result (as if it would be called via `reduce()`). -- [add](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/add.ts) -- [assocMap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/assoc-map.ts) -- [assocObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/assoc-obj.ts) -- [conj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/conj.ts) -- [count](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/count.ts) -- [div](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/div.ts) -- [every](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/every.ts) -- [fill](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/fill.ts) -- [frequencies](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/frequencies.ts) -- [groupBinary](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-binary.ts) -- [groupByMap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-by-map.ts) -- [groupByObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-by-obj.ts) -- [last](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/last.ts) -- [maxCompare](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/max-compare.ts) -- [max](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/max.ts) -- [mean](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/mean.ts) -- [minCompare](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/min-compare.ts) -- [min](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/min.ts) -- [mul](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/mul.ts) -- [pushCopy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/push-copy.ts) -- [push](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/push.ts) -- [reductions](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/reductions.ts) -- [some](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/some.ts) -- [str](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/str.ts) -- [sub](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/sub.ts) +- [add](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/add.ts) +- [assocMap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/assoc-map.ts) +- [assocObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/assoc-obj.ts) +- [conj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/conj.ts) +- [count](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/count.ts) +- [div](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/div.ts) +- [every](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/every.ts) +- [fill](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/fill.ts) +- [frequencies](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/frequencies.ts) +- [groupBinary](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-binary.ts) +- [groupByMap](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-by-map.ts) +- [groupByObj](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/group-by-obj.ts) +- [last](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/last.ts) +- [maxCompare](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/max-compare.ts) +- [max](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/max.ts) +- [mean](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/mean.ts) +- [minCompare](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/min-compare.ts) +- [min](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/min.ts) +- [mul](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/mul.ts) +- [pushCopy](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/push-copy.ts) +- [push](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/push.ts) +- [reductions](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/reductions.ts) +- [some](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/some.ts) +- [str](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/str.ts) +- [sub](https://github.com/thi-ng/umbrella/tree/master/packages/transducers/src/rfn/sub.ts) ## Authors -- Karsten Schmidt +- Karsten Schmidt ## License From 88133446fdf8ea307b220db2e0ffc3368ef5ee0d Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 18 Mar 2019 11:33:11 +0000 Subject: [PATCH 45/75] feat(hdom): support more input el types in updateValueAttrib() --- packages/hdom/src/dom.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/hdom/src/dom.ts b/packages/hdom/src/dom.ts index 05edfb5d38..cf8ace4d92 100644 --- a/packages/hdom/src/dom.ts +++ b/packages/hdom/src/dom.ts @@ -275,10 +275,16 @@ export const updateValueAttrib = (el: HTMLInputElement, v: any) => { case "text": case "textarea": case "password": + case "search": + case "number": case "email": case "url": case "tel": - case "search": + case "date": + case "datetime-local": + case "time": + case "week": + case "month": if ((ev = el.value) !== undefined && typeof v === "string") { const off = v.length - (ev.length - el.selectionStart); el.value = v; From 3fb26dded8e4eaa34984a6003caa9d8c79f77af5 Mon Sep 17 00:00:00 2001 From: Karsten Schmidt Date: Mon, 18 Mar 2019 11:38:37 +0000 Subject: [PATCH 46/75] docs(hdom): fix #76, add value attrib notes to readme --- packages/hdom/README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/packages/hdom/README.md b/packages/hdom/README.md index 3b9b9de335..e582589682 100644 --- a/packages/hdom/README.md +++ b/packages/hdom/README.md @@ -49,6 +49,7 @@ This project is part of the - [createTree()](#createtree) - [hydrateTree()](#hydratetree) - [User context](#user-context) + - [`value` attribute handling](#value-attribute-handling) - [Behavior control attributes](#behavior-control-attributes) - [Benchmarks](#benchmarks) - [Authors](#authors) @@ -1162,42 +1163,54 @@ const app = [ start(app, { ctx }); ``` +### `value` attribute handling + +hdom automatically saves & restores the cursor position when updating +the `value` attribute of an `` element w/ text content or +`