diff --git a/assets/geom/geom-splines-bp-nonuni.png b/assets/geom/geom-splines-bp-nonuni.png
new file mode 100644
index 0000000000..c145e0d646
Binary files /dev/null and b/assets/geom/geom-splines-bp-nonuni.png differ
diff --git a/assets/geom/geom-splines-bp-uni.png b/assets/geom/geom-splines-bp-uni.png
new file mode 100644
index 0000000000..b3215579ee
Binary files /dev/null and b/assets/geom/geom-splines-bp-uni.png differ
diff --git a/assets/geom/geom-splines-cp-nonuni.png b/assets/geom/geom-splines-cp-nonuni.png
new file mode 100644
index 0000000000..5bcfa6abdb
Binary files /dev/null and b/assets/geom/geom-splines-cp-nonuni.png differ
diff --git a/assets/geom/geom-splines-cp-uni.png b/assets/geom/geom-splines-cp-uni.png
new file mode 100644
index 0000000000..1e7c7d3e26
Binary files /dev/null and b/assets/geom/geom-splines-cp-uni.png differ
diff --git a/examples/README.md b/examples/README.md
index f1191ac313..1445cfd99d 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -45,25 +45,26 @@ in touch via PR, issue tracker, email or twitter!
| 34 | [markdown](./markdown) | Markdown parser & editor w/ live preview | fsm, rstream, transducers-hdom | advanced |
| 35 | [package-stats](./package-stats) | CLI util to visualize umbrella pkg stats | hiccup-svg, transducers | intermediate |
| 36 | [pointfree-svg](./pointfree-svg) | Generate SVG using pointfree DSL | hiccup, hiccup-svg, pointfree-lang | intermediate |
-| 37 | [router-basics](./router-basics) | Complete mini SPA | atom, hdom, interceptors, router | advanced |
-| 38 | [rstream-dataflow](./rstream-dataflow) | Dataflow graph | atom, hdom, rstream, rstream-gestures, rstream-graph, transducers | intermediate |
-| 39 | [rstream-grid](./rstream-grid) | Dataflow graph SVG grid | atom, hdom, hiccup-svg, interceptors, rstream-graph, transducers | advanced |
-| 40 | [rstream-hdom](./rstream-hdom) | rstream based UI updates & state handling | hdom, rstream, transducers | intermediate |
-| 41 | [shader-ast-canvas2d](shader-ast-canvas2d) | 2D canvas shader emulation | shader-ast | basic |
-| 42 | [shader-ast-noise](shader-ast-noise) | HOF shader function composition | shader-ast, webgl | basic |
-| 43 | [shader-ast-raymarch](shader-ast-raymarch) | WebGL & Canvas2D raymarch shader | shader-ast, webgl | intermediate |
-| 44 | [shader-ast-sdf2d](shader-ast-sdf2d) | WebGL & Canvas2D SDF | shader-ast, webgl | basic |
-| 45 | [shader-ast-tunnel](shader-ast-tunnel) | WebGL & Canvas2D textured tunnel shader | shader-ast, webgl | basic |
-| 46 | [svg-barchart](./svg-barchart) | hdom SVG barchart component | hdom, transducers | basic |
-| 47 | [svg-particles](./svg-particles) | hdom SVG generation / animation | hdom, transducers | basic |
-| 48 | [svg-waveform](./svg-waveform) | hdom SVG generation / undo history | atom, hdom, hiccup-svg, interceptors, iterators | intermediate |
-| 49 | [talk-slides](./talk-slides) | Presentation slides from ClojureX 2018 | hdom, rstream, transducers-hdom | intermediate |
-| 50 | [todo-list](./todo-list) | Canonical Todo list with undo/redo | atom, hdom, transducers | intermediate |
-| 51 | [transducers-hdom](./transducers-hdom) | Transducer & rstream based hdom UI updates | hdom, rstream, transducers-hdom | basic |
-| 52 | [triple-query](./triple-query) | Triple store query results & sortable table | atom, hdom, hdom-components, rstream-query, transducers | intermediate |
-| 53 | [webgl-cubemap](./webgl-cubemap) | WebGL cubemap, async texture loading | hdom, webgl, shader-ast | intermediate |
-| 54 | [webgl-gpgpu-basics](./webgl-gpgpu-basics) | Minimal GPGPU example | webgl, shader-ast | basic |
-| 55 | [webgl-grid](./webgl-grid) | WebGL instancing | webgl, hdom | intermediate |
-| 56 | [webgl-msdf](./webgl-msdf) | WebGL MSDF font rendering & particle system | webgl, webgl-msdf, shader-ast, hdom | intermediate |
-| 57 | [webgl-ssao](./webgl-ssao) | WebGL screenspace ambient occlusion | webgl, shader-ast, rstream, hdom | advanced |
-| 58 | [xml-converter](./xml-converter) | XML/HTML/SVG to hiccup conversion as you type | rstream, sax, transducers, transducers-hdom | advanced |
+| 37 | [poly-spline](./poly-spline) | Polygon to cubic curve conversion & visualization | geom, hiccup-svg, hdom, rstream | intermediate |
+| 38 | [router-basics](./router-basics) | Complete mini SPA | atom, hdom, interceptors, router | advanced |
+| 39 | [rstream-dataflow](./rstream-dataflow) | Dataflow graph | atom, hdom, rstream, rstream-gestures, rstream-graph, transducers | intermediate |
+| 40 | [rstream-grid](./rstream-grid) | Dataflow graph SVG grid | atom, hdom, hiccup-svg, interceptors, rstream-graph, transducers | advanced |
+| 41 | [rstream-hdom](./rstream-hdom) | rstream based UI updates & state handling | hdom, rstream, transducers | intermediate |
+| 42 | [shader-ast-canvas2d](shader-ast-canvas2d) | 2D canvas shader emulation | shader-ast | basic |
+| 43 | [shader-ast-noise](shader-ast-noise) | HOF shader function composition | shader-ast, webgl | basic |
+| 44 | [shader-ast-raymarch](shader-ast-raymarch) | WebGL & Canvas2D raymarch shader | shader-ast, webgl | intermediate |
+| 45 | [shader-ast-sdf2d](shader-ast-sdf2d) | WebGL & Canvas2D SDF | shader-ast, webgl | basic |
+| 46 | [shader-ast-tunnel](shader-ast-tunnel) | WebGL & Canvas2D textured tunnel shader | shader-ast, webgl | basic |
+| 47 | [svg-barchart](./svg-barchart) | hdom SVG barchart component | hdom, transducers | basic |
+| 48 | [svg-particles](./svg-particles) | hdom SVG generation / animation | hdom, transducers | basic |
+| 49 | [svg-waveform](./svg-waveform) | hdom SVG generation / undo history | atom, hdom, hiccup-svg, interceptors, iterators | intermediate |
+| 50 | [talk-slides](./talk-slides) | Presentation slides from ClojureX 2018 | hdom, rstream, transducers-hdom | intermediate |
+| 51 | [todo-list](./todo-list) | Canonical Todo list with undo/redo | atom, hdom, transducers | intermediate |
+| 52 | [transducers-hdom](./transducers-hdom) | Transducer & rstream based hdom UI updates | hdom, rstream, transducers-hdom | basic |
+| 53 | [triple-query](./triple-query) | Triple store query results & sortable table | atom, hdom, hdom-components, rstream-query, transducers | intermediate |
+| 54 | [webgl-cubemap](./webgl-cubemap) | WebGL cubemap, async texture loading | hdom, webgl, shader-ast | intermediate |
+| 55 | [webgl-gpgpu-basics](./webgl-gpgpu-basics) | Minimal GPGPU example | webgl, shader-ast | basic |
+| 56 | [webgl-grid](./webgl-grid) | WebGL instancing | webgl, hdom | intermediate |
+| 57 | [webgl-msdf](./webgl-msdf) | WebGL MSDF font rendering & particle system | webgl, webgl-msdf, shader-ast, hdom | intermediate |
+| 58 | [webgl-ssao](./webgl-ssao) | WebGL screenspace ambient occlusion | webgl, shader-ast, rstream, hdom | advanced |
+| 59 | [xml-converter](./xml-converter) | XML/HTML/SVG to hiccup conversion as you type | rstream, sax, transducers, transducers-hdom | advanced |
diff --git a/examples/poly-spline/.gitignore b/examples/poly-spline/.gitignore
new file mode 100644
index 0000000000..0c5abcab62
--- /dev/null
+++ b/examples/poly-spline/.gitignore
@@ -0,0 +1,5 @@
+.cache
+out
+node_modules
+yarn.lock
+*.js
diff --git a/examples/poly-spline/README.md b/examples/poly-spline/README.md
new file mode 100644
index 0000000000..89971ee483
--- /dev/null
+++ b/examples/poly-spline/README.md
@@ -0,0 +1,13 @@
+# poly-spline
+
+[Live demo](http://demo.thi.ng/umbrella/poly-spline/)
+
+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/poly-spline/index.html b/examples/poly-spline/index.html
new file mode 100644
index 0000000000..f5086aec1e
--- /dev/null
+++ b/examples/poly-spline/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ poly-spline
+
+
+
+
+
+
+
+
diff --git a/examples/poly-spline/package.json b/examples/poly-spline/package.json
new file mode 100644
index 0000000000..8377ef0bd5
--- /dev/null
+++ b/examples/poly-spline/package.json
@@ -0,0 +1,29 @@
+{
+ "name": "poly-spline",
+ "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",
+ "build:webpack": "../../node_modules/.bin/webpack --mode production",
+ "start": "parcel index.html -p 8080 --open"
+ },
+ "devDependencies": {
+ "parcel-bundler": "^1.12.3",
+ "terser": "^3.17.0",
+ "typescript": "^3.4.1"
+ },
+ "dependencies": {
+ "@thi.ng/api": "latest",
+ "@thi.ng/rstream": "latest",
+ "@thi.ng/transducers-hdom": "latest"
+ },
+ "browserslist": [
+ "last 3 Chrome versions"
+ ],
+ "browser": {
+ "process": false
+ }
+}
diff --git a/examples/poly-spline/src/index.ts b/examples/poly-spline/src/index.ts
new file mode 100644
index 0000000000..f1f88c686a
--- /dev/null
+++ b/examples/poly-spline/src/index.ts
@@ -0,0 +1,203 @@
+import { sin } from "@thi.ng/dsp";
+import {
+ asCubic,
+ circle,
+ group,
+ line,
+ pathFromCubics,
+ star,
+ svgDoc,
+ withAttribs
+} from "@thi.ng/geom";
+import { convertTree } from "@thi.ng/hiccup-svg";
+import {
+ fromRAF,
+ stream,
+ Stream,
+ sync
+} from "@thi.ng/rstream";
+import {
+ comp,
+ iterator,
+ map,
+ mapcat,
+ partition,
+ reducer,
+ scan
+} from "@thi.ng/transducers";
+import { updateDOM } from "@thi.ng/transducers-hdom";
+
+const BUTTONS = {
+ blue: "bg-blue white hover-bg-light-blue hover-navy",
+ green: "bg-green white hover-bg-light-green hover-dark-green"
+};
+
+// HOF event listener to emit a value on given stream
+const emitOnStream = (stream: Stream, val: any) => () => stream.next(val);
+
+// button UI component
+const button = (
+ _: any,
+ clazz: string,
+ onclick: EventListener,
+ label: string
+) => [
+ "a",
+ {
+ href: "#",
+ onclick,
+ class: "dib w4 mr2 pa2 link " + clazz
+ },
+ label
+];
+
+// slider UI component
+const slider = (
+ _: any,
+ attribs: any,
+ stream: Stream,
+ label: string
+) => [
+ "div.mv3",
+ ["span.dib.w4.mr2", label],
+ [
+ "input.mr3",
+ {
+ type: "range",
+ value: stream.deref(),
+ oninput: (e: any) => stream.next(parseFloat(e.target.value)),
+ ...attribs
+ }
+ ],
+ stream.deref().toFixed(1)
+];
+
+// main app component / stream transformer
+// attached to `main` stream sync and responsible to build full UI
+// from current stream values
+const app = (
+ _mode: Stream,
+ _uniform: Stream,
+ _scale: Stream,
+ _uniScale: Stream
+) => ({ poly, mode, uniform, scale, uniScale }: any) => {
+ // reconstruct poly as cubic curve segments
+ // reference: https://github.com/thi-ng/umbrella/tree/develop/packages/geom-splines#polygon-to-cubic-curve-conversion
+ const cubics = asCubic(poly, {
+ breakPoints: mode,
+ scale: scale * (uniform ? uniScale : 1),
+ uniform
+ });
+ // visualize control points as circles
+ const controlPoints = iterator(
+ comp(mapcat((x) => x.points), map((p) => circle(p, 0.75))),
+ cubics
+ );
+ // visualize control point handles
+ const handles = iterator(
+ comp(mapcat((x) => x.points), partition(2), map(line)),
+ cubics
+ );
+ return [
+ "div.sans-serif.ma3",
+ // user controls
+ [
+ "div",
+ [
+ button,
+ BUTTONS.blue,
+ emitOnStream(_mode, true),
+ mode ? "break points" : "control points"
+ ],
+ [
+ button,
+ BUTTONS.green,
+ emitOnStream(_uniform, true),
+ uniform ? "uniform" : "non-uniform"
+ ],
+ [
+ slider,
+ { min: -1.3, max: 1.3, step: 0.1 },
+ _scale,
+ "tangent scale"
+ ],
+ [
+ slider,
+ { min: 0, max: 100, step: 1, disabled: !uniform },
+ _uniScale,
+ "uniform scale"
+ ]
+ ],
+ [
+ "div",
+ // all @thi.ng/geom shapes implement the `IToHiccup`
+ // interface and so can be used directly in
+ // @thi.ng/hdom-canvas visualizations. However, here we're
+ // using SVG and hence will need to call `convertTree()` to
+ // transform the hiccup format into a SVG compatible format
+ // see:
+ // https://github.com/thi-ng/umbrella/blob/master/packages/hiccup-svg/src/convert.ts#L34
+ convertTree(
+ svgDoc(
+ {
+ width: 480,
+ height: 480,
+ viewBox: "-150 -150 300 300",
+ fill: "none",
+ stroke: "#ccc",
+ "stroke-width": 0.25
+ },
+ poly,
+ withAttribs(pathFromCubics(cubics), {
+ stroke: mode ? "blue" : "red",
+ "stroke-width": 1
+ }),
+ group({ stroke: "#333" }, [...controlPoints, ...handles])
+ )
+ )
+ ]
+ ];
+};
+
+// stream of animated polygons
+const poly = fromRAF().transform(
+ map((t) => star(100, 6, [sin(t, 0.01, 0.5, 0.8), 1]))
+);
+
+// poly spline mode flag (control points vs break points)
+const mode = stream();
+// flag for uniform tangent scaling
+const uniform = stream();
+// tangent scale
+const scale = stream();
+// uniform scale factor (only used if uniform scaling is enabled)
+const uniScale = stream();
+
+// re-usable transducer implementing a toggle switch
+const toggle = scan(reducer(() => true, (acc) => !acc));
+
+// main stream combinator
+const main = sync({
+ src: {
+ poly,
+ mode: mode.transform(toggle),
+ uniform: uniform.transform(toggle),
+ scale,
+ uniScale
+ }
+});
+
+// transform to create & apply UI
+main.transform(map(app(mode, uniform, scale, uniScale)), updateDOM());
+
+// seed all input streams to kick off
+mode.next(false);
+uniform.next(false);
+scale.next(0.5);
+uniScale.next(25);
+
+// HMR handling (dev builds only)
+if (process.env.NODE_ENV !== "production") {
+ const hot = (module).hot;
+ hot && hot.dispose(() => main.done());
+}
diff --git a/examples/poly-spline/tsconfig.json b/examples/poly-spline/tsconfig.json
new file mode 100644
index 0000000000..bbf112cc18
--- /dev/null
+++ b/examples/poly-spline/tsconfig.json
@@ -0,0 +1,11 @@
+{
+ "extends": "../../tsconfig.json",
+ "compilerOptions": {
+ "outDir": ".",
+ "target": "es6",
+ "sourceMap": true
+ },
+ "include": [
+ "./src/**/*.ts"
+ ]
+}
diff --git a/examples/shader-ast-noise/src/index.ts b/examples/shader-ast-noise/src/index.ts
index 0112b17656..0e93ea7370 100644
--- a/examples/shader-ast-noise/src/index.ts
+++ b/examples/shader-ast-noise/src/index.ts
@@ -40,7 +40,7 @@ const JS = targetJS();
const mainImage = defn(
"vec4",
"mainImage",
- [["vec2", "fragCoord"], ["vec2", "res"], ["float", "time"]],
+ ["vec2", "vec2", "float"],
(fragCoord, res, time) => {
let uv: Vec2Sym;
let col: FloatSym;
diff --git a/examples/shader-ast-raymarch/src/index.ts b/examples/shader-ast-raymarch/src/index.ts
index c4d0298539..23e9bdcc73 100644
--- a/examples/shader-ast-raymarch/src/index.ts
+++ b/examples/shader-ast-raymarch/src/index.ts
@@ -56,7 +56,7 @@ const JS = targetJS();
// scene definition for raymarch function. uses SDF primitive functions
// included in "standard library" bundled with shader-ast pkg
-const scene = defn("vec2", "scene", [["vec3"]], (pos) => {
+const scene = defn("vec2", "scene", ["vec3"], (pos) => {
let d1: FloatSym;
let d2: FloatSym;
let d3: FloatSym;
@@ -89,7 +89,7 @@ const scene = defn("vec2", "scene", [["vec3"]], (pos) => {
const mainImage = defn(
"vec4",
"mainImage",
- [["vec2"], ["vec2"], ["vec3"], ["vec3"]],
+ ["vec2", "vec2", "vec3", "vec3"],
(frag, res, eyePos, lightDir) => {
let dir: Vec3Sym;
let result: Vec2Sym;
diff --git a/examples/shader-ast-sdf2d/src/index.ts b/examples/shader-ast-sdf2d/src/index.ts
index c6b799a674..9e7c85bd00 100644
--- a/examples/shader-ast-sdf2d/src/index.ts
+++ b/examples/shader-ast-sdf2d/src/index.ts
@@ -41,7 +41,7 @@ const JS = targetJS();
// scene definition for raymarch function. uses SDF primitive functions
// included in "standard library" bundled with shader-ast pkg
-const scene = defn("float", "scene", [["vec2"]], (pos) => {
+const scene = defn("float", "scene", ["vec2"], (pos) => {
let d1: FloatSym;
let d2: FloatSym;
let d3: FloatSym;
@@ -69,30 +69,25 @@ const scene = defn("float", "scene", [["vec2"]], (pos) => {
// main fragment shader function
// again uses several shader-ast std lib helpers
-const mainImage = defn(
- "vec4",
- "mainImage",
- [["vec2", "fragCoord"], ["vec2", "res"]],
- (frag, res) => {
- let uv: Vec2Sym;
- let d: FloatSym;
- let f = 100;
- return [
- (uv = sym(mul(aspectCorrectedUV(frag, res), float(2)))),
- (d = sym(scene(uv))),
- ret(
- vec4(
- vec3(
- fit1101(cos(mul(d, float(f)))),
- fit1101(cos(mul(d, float(f * 1.02)))),
- fit1101(cos(mul(d, float(f * 1.05))))
- ),
- 1
- )
+const mainImage = defn("vec4", "mainImage", ["vec2", "vec2"], (frag, res) => {
+ let uv: Vec2Sym;
+ let d: FloatSym;
+ let f = 100;
+ return [
+ (uv = sym(mul(aspectCorrectedUV(frag, res), float(2)))),
+ (d = sym(scene(uv))),
+ ret(
+ vec4(
+ vec3(
+ fit1101(cos(mul(d, float(f)))),
+ fit1101(cos(mul(d, float(f * 1.02)))),
+ fit1101(cos(mul(d, float(f * 1.05))))
+ ),
+ 1
)
- ];
- }
-);
+ )
+ ];
+});
// build call graph for given entry function, sort in topological order
// and bundle all functions in a global scope for code generation...
diff --git a/examples/shader-ast-tunnel/src/index.ts b/examples/shader-ast-tunnel/src/index.ts
index 89e68f38c0..b9618d4510 100644
--- a/examples/shader-ast-tunnel/src/index.ts
+++ b/examples/shader-ast-tunnel/src/index.ts
@@ -46,12 +46,7 @@ const JS = targetJS();
const mainImage = defn(
"vec4",
"mainImage",
- [
- ["vec2", "fragCoord"],
- ["vec2", "res"],
- ["float", "time"],
- ["sampler2D", "tex"]
- ],
+ ["vec2", "vec2", "float", "sampler2D"],
(frag, res, time, tex) => {
let p: Vec2Sym;
let uv: Vec2Sym;
diff --git a/examples/webgl-msdf/src/index.ts b/examples/webgl-msdf/src/index.ts
index 56917cd584..be22a7c4c2 100644
--- a/examples/webgl-msdf/src/index.ts
+++ b/examples/webgl-msdf/src/index.ts
@@ -29,7 +29,7 @@ import { map } from "@thi.ng/transducers";
import { AttribPool, GLType } from "@thi.ng/vector-pools";
import {
fit3,
- madd,
+ madd3,
mixN,
mulN,
ReadonlyVec,
@@ -256,8 +256,8 @@ const app = () => {
if (!body) return;
adaptDPI(el, window.innerWidth, window.innerHeight);
// prettier-ignore
- const eye = madd(
- null,
+ const eye = madd3(
+ [],
mouse.deref() || ZERO3,
[2, 0.5, 0],
[0, -4, 5]
diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md
index 2a616b3526..aa857ab0dd 100644
--- a/packages/adjacency/CHANGELOG.md
+++ b/packages/adjacency/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.17...@thi.ng/adjacency@0.1.18) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/adjacency
+
+
+
+
+
+## [0.1.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.16...@thi.ng/adjacency@0.1.17) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/adjacency
+
+
+
+
+
## [0.1.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.1.15...@thi.ng/adjacency@0.1.16) (2019-07-07)
**Note:** Version bump only for package @thi.ng/adjacency
diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json
index 6cacd4db0e..286286f7ff 100644
--- a/packages/adjacency/package.json
+++ b/packages/adjacency/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/adjacency",
- "version": "0.1.16",
+ "version": "0.1.18",
"description": "Sparse & bitwise adjacency matrices for directed / undirected graphs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@thi.ng/vectors": "^3.0.0",
+ "@thi.ng/vectors": "^3.0.2",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.8",
"mocha": "^6.1.4",
@@ -33,12 +33,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/bitfield": "^0.1.9",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/sparse": "^0.1.16"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/bitfield": "^0.1.10",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/sparse": "^0.1.17"
},
"keywords": [
"adjacency",
diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md
index 17d8c12919..3375de2397 100644
--- a/packages/api/CHANGELOG.md
+++ b/packages/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.
+## [6.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@6.3.0...@thi.ng/api@6.3.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/api
+
+
+
+
+
# [6.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/api@6.2.0...@thi.ng/api@6.3.0) (2019-07-07)
diff --git a/packages/api/package.json b/packages/api/package.json
index 56d8e5a41f..6ce2287f29 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/api",
- "version": "6.3.0",
+ "version": "6.3.1",
"description": "Common, generic types & interfaces for thi.ng projects",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib decorators mixins",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"compare",
diff --git a/packages/arrays/CHANGELOG.md b/packages/arrays/CHANGELOG.md
index a3160f732e..eb1559a85f 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.2.0...@thi.ng/arrays@0.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/arrays
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.1.9...@thi.ng/arrays@0.2.0) (2019-07-07)
diff --git a/packages/arrays/package.json b/packages/arrays/package.json
index b46a78c84d..4bbd3172bc 100644
--- a/packages/arrays/package.json
+++ b/packages/arrays/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/arrays",
- "version": "0.2.0",
+ "version": "0.2.1",
"description": "Array / Arraylike utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compare": "^1.0.7",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/random": "^1.1.8"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compare": "^1.0.8",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/random": "^1.1.9"
},
"keywords": [
"arrays",
diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md
index 71090a2119..8eb8557359 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.
+## [2.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@2.4.0...@thi.ng/associative@2.4.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/associative
+
+
+
+
+
# [2.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@2.3.0...@thi.ng/associative@2.4.0) (2019-07-07)
diff --git a/packages/associative/package.json b/packages/associative/package.json
index 36521193f6..c2289071a2 100644
--- a/packages/associative/package.json
+++ b/packages/associative/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/associative",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Alternative Set & Map data type implementations with customizable equality semantics & supporting operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,14 +32,14 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compare": "^1.0.7",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compare": "^1.0.8",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"data structures",
diff --git a/packages/atom/CHANGELOG.md b/packages/atom/CHANGELOG.md
index 5cd4e3b3cf..7d1c532a5b 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.
+## [3.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@3.0.0...@thi.ng/atom@3.0.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/atom
+
+
+
+
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@2.0.12...@thi.ng/atom@3.0.0) (2019-07-07)
diff --git a/packages/atom/package.json b/packages/atom/package.json
index 38958f6690..4bbb8eac86 100644
--- a/packages/atom/package.json
+++ b/packages/atom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/atom",
- "version": "3.0.0",
+ "version": "3.0.1",
"description": "Mutable wrappers for nested immutable values w/ optional undo/redo history",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/paths": "^2.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/paths": "^2.1.1"
},
"keywords": [
"derived views",
diff --git a/packages/bench/CHANGELOG.md b/packages/bench/CHANGELOG.md
index b1aff7ea03..d63f17523e 100644
--- a/packages/bench/CHANGELOG.md
+++ b/packages/bench/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/bench@1.0.7...@thi.ng/bench@1.0.8) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/bench
+
+
+
+
+
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/bench@1.0.6...@thi.ng/bench@1.0.7) (2019-07-07)
**Note:** Version bump only for package @thi.ng/bench
diff --git a/packages/bench/package.json b/packages/bench/package.json
index d8ebc8525a..0462d188b5 100644
--- a/packages/bench/package.json
+++ b/packages/bench/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bench",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "Basic benchmarking helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md
index 5cb01df1f9..9189c6d856 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.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.3.0...@thi.ng/bencode@0.3.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/bencode
+
+
+
+
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.2.17...@thi.ng/bencode@0.3.0) (2019-07-07)
diff --git a/packages/bencode/package.json b/packages/bencode/package.json
index d320fe8b11..f2a0e47ab7 100644
--- a/packages/bencode/package.json
+++ b/packages/bencode/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bencode",
- "version": "0.3.0",
+ "version": "0.3.1",
"description": "Bencode binary encoder / decoder with optional UTF8 encoding",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/transducers-binary": "^0.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/transducers-binary": "^0.4.1"
},
"keywords": [
"bencode",
diff --git a/packages/binary/CHANGELOG.md b/packages/binary/CHANGELOG.md
index 2bff605dbe..457df5e3ff 100644
--- a/packages/binary/CHANGELOG.md
+++ b/packages/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.
+## [1.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/binary@1.0.7...@thi.ng/binary@1.0.8) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/binary
+
+
+
+
+
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/binary@1.0.6...@thi.ng/binary@1.0.7) (2019-07-07)
**Note:** Version bump only for package @thi.ng/binary
diff --git a/packages/binary/package.json b/packages/binary/package.json
index add0b6061c..ca21270b62 100644
--- a/packages/binary/package.json
+++ b/packages/binary/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/binary",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "Assorted binary / bitwise operations, conversions, utilities.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/bitfield/CHANGELOG.md b/packages/bitfield/CHANGELOG.md
index e8b60aa76f..0faa738f33 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.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.1.9...@thi.ng/bitfield@0.1.10) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/bitfield
+
+
+
+
+
## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.1.8...@thi.ng/bitfield@0.1.9) (2019-07-07)
**Note:** Version bump only for package @thi.ng/bitfield
diff --git a/packages/bitfield/package.json b/packages/bitfield/package.json
index 5b321c669c..19be9db859 100644
--- a/packages/bitfield/package.json
+++ b/packages/bitfield/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitfield",
- "version": "0.1.9",
+ "version": "0.1.10",
"description": "1D / 2D bit field implementations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/strings": "^1.2.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/strings": "^1.2.1"
},
"keywords": [
"1D",
diff --git a/packages/bitstream/CHANGELOG.md b/packages/bitstream/CHANGELOG.md
index 3dc7b14b14..a937b2df4f 100644
--- a/packages/bitstream/CHANGELOG.md
+++ b/packages/bitstream/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.1.0...@thi.ng/bitstream@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/bitstream
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.0.6...@thi.ng/bitstream@1.1.0) (2019-07-07)
diff --git a/packages/bitstream/package.json b/packages/bitstream/package.json
index 97c0305b95..1740726e57 100644
--- a/packages/bitstream/package.json
+++ b/packages/bitstream/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitstream",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "ES6 iterator based read/write bit streams & support for variable word widths",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"dependencies": {
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/errors": "^1.1.1"
},
"devDependencies": {
"@types/mocha": "^5.2.6",
diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md
index 8ae089bf6b..eab444a300 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.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.20...@thi.ng/cache@1.0.21) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/cache
+
+
+
+
+
## [1.0.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.19...@thi.ng/cache@1.0.20) (2019-07-07)
**Note:** Version bump only for package @thi.ng/cache
diff --git a/packages/cache/package.json b/packages/cache/package.json
index d5e9530c35..4812f4b508 100644
--- a/packages/cache/package.json
+++ b/packages/cache/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/cache",
- "version": "1.0.20",
+ "version": "1.0.21",
"description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"cache",
diff --git a/packages/checks/CHANGELOG.md b/packages/checks/CHANGELOG.md
index 5935dfc8d3..84c556f489 100644
--- a/packages/checks/CHANGELOG.md
+++ b/packages/checks/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.2.0...@thi.ng/checks@2.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/checks
+
+
+
+
+
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07)
diff --git a/packages/checks/package.json b/packages/checks/package.json
index af61af96af..9da3b7680d 100644
--- a/packages/checks/package.json
+++ b/packages/checks/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/checks",
- "version": "2.2.0",
+ "version": "2.2.1",
"description": "Single-function sub-modules for type, feature & value checks",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md
index 06c5c8c108..5d2c40c2a4 100644
--- a/packages/color/CHANGELOG.md
+++ b/packages/color/CHANGELOG.md
@@ -3,6 +3,22 @@
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/color@0.2.1...@thi.ng/color@0.2.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/color
+
+
+
+
+
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.2.0...@thi.ng/color@0.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/color
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@0.1.21...@thi.ng/color@0.2.0) (2019-07-07)
diff --git a/packages/color/package.json b/packages/color/package.json
index a0d2d4aa39..eef9a0272a 100644
--- a/packages/color/package.json
+++ b/packages/color/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/color",
- "version": "0.2.0",
+ "version": "0.2.2",
"description": "Raw, array-based, color ops, conversions, opt. type wrappers, multi-color gradients",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib internal",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,14 +32,14 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/strings": "^1.2.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/strings": "^1.2.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"alpha",
diff --git a/packages/compare/CHANGELOG.md b/packages/compare/CHANGELOG.md
index 06d0f47e35..12cfe6113c 100644
--- a/packages/compare/CHANGELOG.md
+++ b/packages/compare/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/compare@1.0.7...@thi.ng/compare@1.0.8) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/compare
+
+
+
+
+
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/compare@1.0.6...@thi.ng/compare@1.0.7) (2019-07-07)
**Note:** Version bump only for package @thi.ng/compare
diff --git a/packages/compare/package.json b/packages/compare/package.json
index 7d9fa97f55..53b6478342 100644
--- a/packages/compare/package.json
+++ b/packages/compare/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/compare",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "Comparator with optional delegation for types implementing @thi.ng/api/ICompare interface",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/compose/CHANGELOG.md b/packages/compose/CHANGELOG.md
index c79fe52b67..873335c0bc 100644
--- a/packages/compose/CHANGELOG.md
+++ b/packages/compose/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.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.3.0...@thi.ng/compose@1.3.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/compose
+
+
+
+
+
# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.2.5...@thi.ng/compose@1.3.0) (2019-07-07)
diff --git a/packages/compose/package.json b/packages/compose/package.json
index d4e40e4091..fff76f57a3 100644
--- a/packages/compose/package.json
+++ b/packages/compose/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/compose",
- "version": "1.3.0",
+ "version": "1.3.1",
"description": "Arity-optimized functional composition helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"composition",
diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md
index c279a85b47..b1dc618e92 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.1.0...@thi.ng/csp@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/csp
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.0.19...@thi.ng/csp@1.1.0) (2019-07-07)
diff --git a/packages/csp/package.json b/packages/csp/package.json
index ed8bddd576..0ad296118f 100644
--- a/packages/csp/package.json
+++ b/packages/csp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/csp",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "ES6 promise based CSP implementation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public",
"testasync": "tsc -p test && node build/test/async.js",
"testfile": "tsc -p test && node build/test/file.js",
@@ -36,12 +36,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"async",
diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md
index 724b7324ab..38c83a4bcf 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.1.0...@thi.ng/dcons@2.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/dcons
+
+
+
+
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.0.19...@thi.ng/dcons@2.1.0) (2019-07-07)
diff --git a/packages/dcons/package.json b/packages/dcons/package.json
index d81839cb45..ba4f41c2cd 100644
--- a/packages/dcons/package.json
+++ b/packages/dcons/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dcons",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "Comprehensive doubly linked list structure w/ iterator support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compare": "^1.0.7",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compare": "^1.0.8",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"datastructure",
diff --git a/packages/defmulti/CHANGELOG.md b/packages/defmulti/CHANGELOG.md
index 258c6a3749..1f530868db 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.1.0...@thi.ng/defmulti@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/defmulti
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.0.9...@thi.ng/defmulti@1.1.0) (2019-07-07)
diff --git a/packages/defmulti/package.json b/packages/defmulti/package.json
index 7831d2eb79..ca07449ffd 100644
--- a/packages/defmulti/package.json
+++ b/packages/defmulti/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/defmulti",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Dynamically extensible multiple dispatch via user supplied dispatch function.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md
index da0d5aa3ee..4f88585025 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.1.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.1.10...@thi.ng/dgraph@1.1.11) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/dgraph
+
+
+
+
+
## [1.1.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.1.9...@thi.ng/dgraph@1.1.10) (2019-07-07)
**Note:** Version bump only for package @thi.ng/dgraph
diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json
index 6bc7b4fb93..fec4b5f780 100644
--- a/packages/dgraph/package.json
+++ b/packages/dgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dgraph",
- "version": "1.1.10",
+ "version": "1.1.11",
"description": "Type-agnostic directed acyclic graph (DAG) & graph operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/associative": "^2.4.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/associative": "^2.4.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"data structure",
diff --git a/packages/diff/CHANGELOG.md b/packages/diff/CHANGELOG.md
index 1b05a7bb42..060db321ce 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@3.2.0...@thi.ng/diff@3.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/diff
+
+
+
+
+
# [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/diff@3.1.3...@thi.ng/diff@3.2.0) (2019-07-07)
diff --git a/packages/diff/package.json b/packages/diff/package.json
index c517ffb333..a3243390e4 100644
--- a/packages/diff/package.json
+++ b/packages/diff/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/diff",
- "version": "3.2.0",
+ "version": "3.2.1",
"description": "Array & object Diff",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -31,8 +31,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/equiv": "^1.0.7"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/equiv": "^1.0.8"
},
"keywords": [
"additions",
diff --git a/packages/dlogic/CHANGELOG.md b/packages/dlogic/CHANGELOG.md
index 3190bc9289..53f7e9de1e 100644
--- a/packages/dlogic/CHANGELOG.md
+++ b/packages/dlogic/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/dlogic@1.0.7...@thi.ng/dlogic@1.0.8) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/dlogic
+
+
+
+
+
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/dlogic@1.0.6...@thi.ng/dlogic@1.0.7) (2019-07-07)
**Note:** Version bump only for package @thi.ng/dlogic
diff --git a/packages/dlogic/package.json b/packages/dlogic/package.json
index 5aacc6ebc9..2c3ab7da35 100644
--- a/packages/dlogic/package.json
+++ b/packages/dlogic/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dlogic",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "Assorted digital logic ops / constructs.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/dot/CHANGELOG.md b/packages/dot/CHANGELOG.md
index 4416d40147..9b24d8785e 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.1.0...@thi.ng/dot@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/dot
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dot@1.0.12...@thi.ng/dot@1.1.0) (2019-07-07)
diff --git a/packages/dot/package.json b/packages/dot/package.json
index 06b7b994fa..c58eb636ed 100644
--- a/packages/dot/package.json
+++ b/packages/dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dot",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Graphviz DOM abstraction as vanilla JS objects & serialization to DOT format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1"
},
"keywords": [
"ES6",
diff --git a/packages/dsp/CHANGELOG.md b/packages/dsp/CHANGELOG.md
index 84c7b5aad3..ef73516907 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.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@1.0.12...@thi.ng/dsp@1.0.13) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/dsp
+
+
+
+
+
## [1.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@1.0.11...@thi.ng/dsp@1.0.12) (2019-07-07)
**Note:** Version bump only for package @thi.ng/dsp
diff --git a/packages/dsp/package.json b/packages/dsp/package.json
index 1f09ac88ed..37095308b9 100644
--- a/packages/dsp/package.json
+++ b/packages/dsp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dsp",
- "version": "1.0.12",
+ "version": "1.0.13",
"description": "Assorted DSP utils, oscillators etc.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/math": "^1.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/math": "^1.4.1"
},
"keywords": [
"additive",
diff --git a/packages/equiv/CHANGELOG.md b/packages/equiv/CHANGELOG.md
index 1315f3ca6b..0082b1db9b 100644
--- a/packages/equiv/CHANGELOG.md
+++ b/packages/equiv/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/equiv@1.0.7...@thi.ng/equiv@1.0.8) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/equiv
+
+
+
+
+
## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/equiv@1.0.6...@thi.ng/equiv@1.0.7) (2019-07-07)
**Note:** Version bump only for package @thi.ng/equiv
diff --git a/packages/equiv/package.json b/packages/equiv/package.json
index 25081deb09..be39b287a4 100644
--- a/packages/equiv/package.json
+++ b/packages/equiv/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/equiv",
- "version": "1.0.7",
+ "version": "1.0.8",
"description": "Extensible deep equivalence checking for any data types",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md
index 97d3c9bf64..0e16fefd91 100644
--- a/packages/errors/CHANGELOG.md
+++ b/packages/errors/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.1.0...@thi.ng/errors@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/errors
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.0.6...@thi.ng/errors@1.1.0) (2019-07-07)
diff --git a/packages/errors/package.json b/packages/errors/package.json
index 46fe4cf9d6..428771735f 100644
--- a/packages/errors/package.json
+++ b/packages/errors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/errors",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Custom error types and helper fns.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md
index 2f71535153..05c5befe19 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.2.0...@thi.ng/fsm@2.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/fsm
+
+
+
+
+
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.1.15...@thi.ng/fsm@2.2.0) (2019-07-07)
diff --git a/packages/fsm/package.json b/packages/fsm/package.json
index 9311792559..acf275315b 100644
--- a/packages/fsm/package.json
+++ b/packages/fsm/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fsm",
- "version": "2.2.0",
+ "version": "2.2.1",
"description": "Composable primitives for building declarative, transducer based Finite-State machines & parsers for arbitrary data streams",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"ES6",
diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md
index 2057d99ae4..ba7077c80e 100644
--- a/packages/geom-accel/CHANGELOG.md
+++ b/packages/geom-accel/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.2.1...@thi.ng/geom-accel@1.2.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-accel
+
+
+
+
+
+## [1.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.2.0...@thi.ng/geom-accel@1.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-accel
+
+
+
+
+
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@1.1.17...@thi.ng/geom-accel@1.2.0) (2019-07-07)
diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json
index 935f727bd5..c18d8d3054 100644
--- a/packages/geom-accel/package.json
+++ b/packages/geom-accel/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-accel",
- "version": "1.2.0",
+ "version": "1.2.2",
"description": "nD spatial indexing data structures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib internal",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/heaps": "^1.1.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/heaps": "^1.1.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md
index c1f0585079..55863f45bb 100644
--- a/packages/geom-api/CHANGELOG.md
+++ b/packages/geom-api/CHANGELOG.md
@@ -3,6 +3,25 @@
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/geom-api@0.2.5...@thi.ng/geom-api@0.3.0) (2019-07-12)
+
+
+### Features
+
+* **geom-api:** add CubicOpts ([81ac728](https://github.com/thi-ng/umbrella/commit/81ac728))
+
+
+
+
+
+## [0.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.2.4...@thi.ng/geom-api@0.2.5) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-api
+
+
+
+
+
## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@0.2.3...@thi.ng/geom-api@0.2.4) (2019-07-07)
**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 0b51598bf3..d0820178cd 100644
--- a/packages/geom-api/package.json
+++ b/packages/geom-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-api",
- "version": "0.2.4",
+ "version": "0.3.0",
"description": "Shared type & interface declarations for @thi.ng/geom packages",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"ES6",
diff --git a/packages/geom-api/src/cubic.ts b/packages/geom-api/src/cubic.ts
new file mode 100644
index 0000000000..59585a7ddc
--- /dev/null
+++ b/packages/geom-api/src/cubic.ts
@@ -0,0 +1,18 @@
+export interface CubicOpts {
+ /**
+ * Set to true (default false) to interpret original vertices as
+ * breakpoints
+ */
+ breakPoints: boolean;
+ /**
+ * True, to enable uniform tangent scaling. If false (default), each
+ * tangent will be also scaled by the length of its related parent
+ * edge in the source shape.
+ */
+ uniform: boolean;
+ /**
+ * Tangent scale factor. Actual length in uniform scaling mode, else
+ * should be a value between [0..1.33333]
+ */
+ scale: number;
+}
diff --git a/packages/geom-api/src/index.ts b/packages/geom-api/src/index.ts
index 9d101b155b..bcda3aab7a 100644
--- a/packages/geom-api/src/index.ts
+++ b/packages/geom-api/src/index.ts
@@ -1,5 +1,6 @@
export * from "./accel";
export * from "./convex";
+export * from "./cubic";
export * from "./isec";
export * from "./path";
export * from "./sample";
diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md
index e67ff1b8b3..4caaf2d178 100644
--- a/packages/geom-arc/CHANGELOG.md
+++ b/packages/geom-arc/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-arc@0.2.1...@thi.ng/geom-arc@0.2.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-arc
+
+
+
+
+
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.2.0...@thi.ng/geom-arc@0.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-arc
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.1.17...@thi.ng/geom-arc@0.2.0) (2019-07-07)
diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json
index 38a359184a..b592dd560f 100644
--- a/packages/geom-arc/package.json
+++ b/packages/geom-arc/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-arc",
- "version": "0.2.0",
+ "version": "0.2.2",
"description": "2D circular / elliptic arc operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-resample": "^0.2.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-resample": "^0.2.2",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-clip/CHANGELOG.md b/packages/geom-clip/CHANGELOG.md
index 53678fc2f9..4678a1d9d8 100644
--- a/packages/geom-clip/CHANGELOG.md
+++ b/packages/geom-clip/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-clip@0.1.1...@thi.ng/geom-clip@0.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-clip
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.1.0...@thi.ng/geom-clip@0.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-clip
+
+
+
+
+
# [0.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip@0.0.19...@thi.ng/geom-clip@0.1.0) (2019-07-07)
diff --git a/packages/geom-clip/package.json b/packages/geom-clip/package.json
index d639419dfb..78123c10a4 100644
--- a/packages/geom-clip/package.json
+++ b/packages/geom-clip/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-clip",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "2D line & convex polygon clipping (Liang-Barsky / Sutherland-Hodgeman)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/geom-isec": "^0.3.0",
- "@thi.ng/geom-poly-utils": "^0.1.18",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/geom-isec": "^0.3.2",
+ "@thi.ng/geom-poly-utils": "^0.1.20",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md
index 53feedd876..fd5b3a3dfa 100644
--- a/packages/geom-closest-point/CHANGELOG.md
+++ b/packages/geom-closest-point/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-closest-point@0.3.1...@thi.ng/geom-closest-point@0.3.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-closest-point
+
+
+
+
+
+## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.3.0...@thi.ng/geom-closest-point@0.3.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-closest-point
+
+
+
+
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.2.3...@thi.ng/geom-closest-point@0.3.0) (2019-07-07)
diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json
index df63a482be..eaca7530af 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.3.0",
+ "version": "0.3.2",
"description": "Closest point / proximity helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"ES6",
diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md
index db462a5eb7..a2e10ef237 100644
--- a/packages/geom-hull/CHANGELOG.md
+++ b/packages/geom-hull/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.0.22](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.21...@thi.ng/geom-hull@0.0.22) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-hull
+
+
+
+
+
+## [0.0.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.20...@thi.ng/geom-hull@0.0.21) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-hull
+
+
+
+
+
## [0.0.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.19...@thi.ng/geom-hull@0.0.20) (2019-07-07)
**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 31fae02ec9..095916edf0 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.20",
+ "version": "0.0.22",
"description": "Fast 2D convex hull (Graham Scan)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md
index cc6c174655..d9dba0ae1c 100644
--- a/packages/geom-isec/CHANGELOG.md
+++ b/packages/geom-isec/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-isec@0.3.1...@thi.ng/geom-isec@0.3.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-isec
+
+
+
+
+
+## [0.3.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.3.0...@thi.ng/geom-isec@0.3.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-isec
+
+
+
+
+
# [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.2.0...@thi.ng/geom-isec@0.3.0) (2019-07-07)
diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json
index 4783ea8778..71ff9815cb 100644
--- a/packages/geom-isec/package.json
+++ b/packages/geom-isec/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-isec",
- "version": "0.3.0",
+ "version": "0.3.2",
"description": "2D/3D shape intersection checks",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-closest-point": "^0.3.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-closest-point": "^0.3.2",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md
index f8f33a181b..70d098abce 100644
--- a/packages/geom-isoline/CHANGELOG.md
+++ b/packages/geom-isoline/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.19...@thi.ng/geom-isoline@0.1.20) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-isoline
+
+
+
+
+
+## [0.1.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.18...@thi.ng/geom-isoline@0.1.19) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-isoline
+
+
+
+
+
## [0.1.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.17...@thi.ng/geom-isoline@0.1.18) (2019-07-07)
**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 860b9a8ebf..bb3ff0bfaa 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.18",
+ "version": "0.1.20",
"description": "Fast 2D contour line extraction / generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md
index 43b410168e..e67d87dca9 100644
--- a/packages/geom-poly-utils/CHANGELOG.md
+++ b/packages/geom-poly-utils/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.19...@thi.ng/geom-poly-utils@0.1.20) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-poly-utils
+
+
+
+
+
+## [0.1.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.18...@thi.ng/geom-poly-utils@0.1.19) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-poly-utils
+
+
+
+
+
## [0.1.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.1.17...@thi.ng/geom-poly-utils@0.1.18) (2019-07-07)
diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json
index b8f3bb747d..a6b5938277 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.18",
+ "version": "0.1.20",
"description": "Polygon / triangle analysis & processing utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md
index 9784037ed3..acddb706ad 100644
--- a/packages/geom-resample/CHANGELOG.md
+++ b/packages/geom-resample/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-resample@0.2.1...@thi.ng/geom-resample@0.2.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-resample
+
+
+
+
+
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.2.0...@thi.ng/geom-resample@0.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-resample
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.1.17...@thi.ng/geom-resample@0.2.0) (2019-07-07)
diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json
index 3a5baac7d5..9f2e275dea 100644
--- a/packages/geom-resample/package.json
+++ b/packages/geom-resample/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-resample",
- "version": "0.2.0",
+ "version": "0.2.2",
"description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-closest-point": "^0.3.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-closest-point": "^0.3.2",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md
index a8bb7e79cd..63b72b2f0f 100644
--- a/packages/geom-splines/CHANGELOG.md
+++ b/packages/geom-splines/CHANGELOG.md
@@ -3,6 +3,31 @@
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/geom-splines@0.2.1...@thi.ng/geom-splines@0.3.0) (2019-07-12)
+
+
+### Bug Fixes
+
+* **geom-splines:** add full circle check for cubicFromArc() ([3e386f7](https://github.com/thi-ng/umbrella/commit/3e386f7))
+* **geom-splines:** fix [#100](https://github.com/thi-ng/umbrella/issues/100), replace cubicBounds impl ([6c64b88](https://github.com/thi-ng/umbrella/commit/6c64b88))
+
+
+### Features
+
+* **geom-splines:** add closedCubicFromBreak/ControlPoints, update readme ([1284f37](https://github.com/thi-ng/umbrella/commit/1284f37))
+
+
+
+
+
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.2.0...@thi.ng/geom-splines@0.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-splines
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.1.17...@thi.ng/geom-splines@0.2.0) (2019-07-07)
diff --git a/packages/geom-splines/README.md b/packages/geom-splines/README.md
index 3f1c925e4a..be60161cc9 100644
--- a/packages/geom-splines/README.md
+++ b/packages/geom-splines/README.md
@@ -13,6 +13,7 @@ This project is part of the
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage examples](#usage-examples)
+ - [Polygon to cubic curve conversion](#polygon-to-cubic-curve-conversion)
- [Authors](#authors)
- [License](#license)
@@ -40,6 +41,38 @@ yarn add @thi.ng/geom-splines
## Usage examples
+### Polygon to cubic curve conversion
+
+Currently, there're two ways to convert a polygon into a sequence of
+cubic curve segments. Both modes support customizable curve tightness.
+
+Furthermore, both conversion modes can be instructed to use uniformly
+scaled control point tangents: In uniform mode, the tangents have a
+uniform, user defined length, resulting in equidistant control points
+for each poly vertex. In non-uniform mode, each tangent is scaled by the
+length of its parent poly edge.
+
+#### Poly vertices as control points
+
+In this mode the curve always goes through the midpoints each polygon
+edge, with the original polygon vertices being used to compute control
+points.
+
+| Proportional tangent scale | Uniform tangent scale |
+|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
+| ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/geom-splines-cp-nonuni.png) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/geom-splines-cp-uni.png) |
+
+#### Poly vertices as break points
+
+In this mode the curve always goes through the original polygon vertices
+and additional control points are created via symmetric tangents at each
+poly vertex. The tangents themselves are computed via the bisector of
+each vertex corner, taking into the convexity of each poly vertex.
+
+| Proportional tangent scale | Uniform tangent scale |
+|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
+| ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/geom-splines-bp-nonuni.png) | ![](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/geom-splines-bp-uni.png) |
+
```ts
import * as gs from "@thi.ng/geom-splines";
```
diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json
index 07adef3397..8419d967df 100644
--- a/packages/geom-splines/package.json
+++ b/packages/geom-splines/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-splines",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-arc": "^0.2.0",
- "@thi.ng/geom-resample": "^0.2.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-arc": "^0.2.2",
+ "@thi.ng/geom-resample": "^0.2.2",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-splines/src/cubic-arc.ts b/packages/geom-splines/src/cubic-arc.ts
index c1aa107381..8d74d7c761 100644
--- a/packages/geom-splines/src/cubic-arc.ts
+++ b/packages/geom-splines/src/cubic-arc.ts
@@ -1,5 +1,11 @@
import { pointAtTheta } from "@thi.ng/geom-arc";
-import { EPS, HALF_PI, roundEps, sincos } from "@thi.ng/math";
+import {
+ EPS,
+ HALF_PI,
+ PI,
+ roundEps,
+ sincos
+} from "@thi.ng/math";
import { magSq2, ReadonlyVec, Vec } from "@thi.ng/vectors";
import { cubicFromLine } from "./cubic-line";
@@ -25,11 +31,12 @@ export const cubicFromArc = (
) => {
const p = pointAtTheta(pos, r, axis, start);
const q = pointAtTheta(pos, r, axis, end);
+ const delta = end - start;
const [rx, ry] = r;
const [s, c] = sincos(axis);
const dx = (c * (p[0] - q[0])) / 2 + (s * (p[1] - q[1])) / 2;
const dy = (-s * (p[0] - q[0])) / 2 + (c * (p[1] - q[1])) / 2;
- if ((dx === 0 && dy === 0) || magSq2(r) < EPS) {
+ if ((Math.abs(delta) < PI && (dx === 0 && dy === 0)) || magSq2(r) < EPS) {
return [cubicFromLine(p, q)];
}
@@ -40,7 +47,6 @@ export const cubicFromArc = (
};
const res: Vec[][] = [];
- const delta = end - start;
const n = Math.max(roundEps(Math.abs(delta) / HALF_PI, 1e-3), 1);
const d = delta / n;
const t = (8 / 6) * Math.tan(0.25 * d);
diff --git a/packages/geom-splines/src/cubic-bounds.ts b/packages/geom-splines/src/cubic-bounds.ts
index 42ac3e00a0..54c72f2995 100644
--- a/packages/geom-splines/src/cubic-bounds.ts
+++ b/packages/geom-splines/src/cubic-bounds.ts
@@ -1,6 +1,20 @@
import { mixCubic } from "@thi.ng/math";
import { ReadonlyVec, Vec, VecPair } from "@thi.ng/vectors";
+/**
+ * Computes cubic spline bounds for a single vector component.
+ *
+ * Based on:
+ * http://www.iquilezles.org/www/articles/bezierbbox/bezierbbox.htm
+ *
+ * @param min
+ * @param max
+ * @param i
+ * @param pa
+ * @param pb
+ * @param pc
+ * @param pd
+ */
const axisBounds = (
min: Vec,
max: Vec,
@@ -10,34 +24,29 @@ const axisBounds = (
pc: number,
pd: number
) => {
- let a = 3 * pd - 9 * pc + 9 * pb - 3 * pa;
- let b = 6 * pa - 12 * pb + 6 * pc;
- let c = 3 * pb - 3 * pa;
- let disc = b * b - 4 * a * c;
+ min[i] = Math.min(pa, pd);
+ max[i] = Math.max(pa, pd);
- let l = pa;
- let h = pa;
- pd < l && (l = pd);
- pd > h && (h = pd);
+ const k0 = -pa + pb;
+ const k1 = pa - 2 * pb + pc;
+ const k2 = -pa + 3 * pb - 3 * pc + pd;
+ let h = k1 * k1 - k0 * k2;
- if (disc >= 0) {
- disc = Math.sqrt(disc);
- a *= 2;
-
- const bounds = (t: number) => {
- if (t > 0 && t < 1) {
- const x = mixCubic(pa, pb, pc, pd, t);
- x < l && (l = x);
- x > h && (h = x);
- }
- };
-
- bounds((-b + disc) / a);
- bounds((-b - disc) / a);
+ if (h > 0) {
+ h = Math.sqrt(h);
+ let t = k0 / (-k1 - h);
+ if (t > 0 && t < 1) {
+ const q = mixCubic(pa, pb, pc, pd, t);
+ min[i] = Math.min(min[i], q);
+ max[i] = Math.max(max[i], q);
+ }
+ t = k0 / (-k1 + h);
+ if (t > 0 && t < 1) {
+ const q = mixCubic(pa, pb, pc, pd, t);
+ min[i] = Math.min(min[i], q);
+ max[i] = Math.max(max[i], q);
+ }
}
-
- min[i] = l;
- max[i] = h;
};
export const cubicBounds = (
diff --git a/packages/geom-splines/src/cubic-from-breakpoints.ts b/packages/geom-splines/src/cubic-from-breakpoints.ts
new file mode 100644
index 0000000000..87c28c71cb
--- /dev/null
+++ b/packages/geom-splines/src/cubic-from-breakpoints.ts
@@ -0,0 +1,52 @@
+import {
+ corner2,
+ dist,
+ maddN,
+ mixN,
+ mulN,
+ normalize,
+ perpendicularCW,
+ ReadonlyVec,
+ set,
+ sub,
+ Vec
+} from "@thi.ng/vectors";
+
+export const closedCubicFromBreakPoints = (
+ points: ReadonlyVec[],
+ t = 1 / 3,
+ uniform = false
+) => {
+ const tangents: Vec[][] = [];
+ for (let num = points.length, i = num - 1, j = 0; j < num; i = j, j++) {
+ const a = points[i];
+ const b = points[j];
+ const c = points[(j + 1) % num];
+ const n = mulN(
+ null,
+ perpendicularCW(
+ null,
+ normalize(
+ null,
+ mixN(
+ null,
+ normalize(null, sub([], a, b)),
+ normalize(null, sub([], c, b)),
+ 0.5
+ )
+ )
+ ),
+ corner2(a, b, c)
+ );
+ tangents.push([set([], b), n]);
+ }
+ tangents.push(tangents[0]);
+ const res: Vec[][] = [];
+ for (let i = 0, num = tangents.length - 1; i < num; i++) {
+ const [a, na] = tangents[i];
+ const [b, nb] = tangents[i + 1];
+ const d = uniform ? t : t * dist(a, b);
+ res.push([a, maddN([], na, d, a), maddN([], nb, -d, b), b]);
+ }
+ return res;
+};
diff --git a/packages/geom-splines/src/cubic-from-controlpoints.ts b/packages/geom-splines/src/cubic-from-controlpoints.ts
new file mode 100644
index 0000000000..92f6c90cf7
--- /dev/null
+++ b/packages/geom-splines/src/cubic-from-controlpoints.ts
@@ -0,0 +1,44 @@
+import {
+ add,
+ direction,
+ mixN,
+ ReadonlyVec,
+ set,
+ Vec
+} from "@thi.ng/vectors";
+
+export const closedCubicFromControlPoints = (
+ points: ReadonlyVec[],
+ t = 1,
+ uniform = false
+) => {
+ const segments = [];
+ for (let i = 0, num = points.length; i < num; i++) {
+ const a = points[i];
+ const b = points[(i + 1) % num];
+ segments.push(mixN([], a, b, 0.5), set([], b));
+ }
+ segments.push(segments[0]);
+ const res: Vec[][] = [];
+ if (uniform) {
+ for (let i = 0, n = segments.length - 2; i < n; i += 2) {
+ const a = segments[i];
+ const b = segments[i + 1];
+ const c = segments[i + 2];
+ res.push([
+ a,
+ add(null, direction([], a, b, t), a),
+ add(null, direction([], c, b, t), c),
+ c
+ ]);
+ }
+ } else {
+ for (let i = 0, n = segments.length - 2; i < n; i += 2) {
+ const a = segments[i];
+ const b = segments[i + 1];
+ const c = segments[i + 2];
+ res.push([a, mixN([], a, b, t), mixN([], c, b, t), c]);
+ }
+ }
+ return res;
+};
diff --git a/packages/geom-splines/src/index.ts b/packages/geom-splines/src/index.ts
index 949ed0f1dd..97ddd77aa1 100644
--- a/packages/geom-splines/src/index.ts
+++ b/packages/geom-splines/src/index.ts
@@ -1,6 +1,8 @@
export * from "./cubic-arc";
export * from "./cubic-bounds";
export * from "./cubic-closest-point";
+export * from "./cubic-from-breakpoints";
+export * from "./cubic-from-controlpoints";
export * from "./cubic-line";
export * from "./cubic-quadratic";
export * from "./cubic-sample";
diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md
index e3cb5de442..0e7fd835fe 100644
--- a/packages/geom-subdiv-curve/CHANGELOG.md
+++ b/packages/geom-subdiv-curve/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.18...@thi.ng/geom-subdiv-curve@0.1.19) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
+
+
+
+
+
+## [0.1.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.17...@thi.ng/geom-subdiv-curve@0.1.18) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
+
+
+
+
+
## [0.1.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.16...@thi.ng/geom-subdiv-curve@0.1.17) (2019-07-07)
**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 b0da46cb40..ef77128a0f 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.17",
+ "version": "0.1.19",
"description": "Freely customizable, iterative subdivision curves for open / closed input geometries",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md
index 87fd584dc3..880534cdbd 100644
--- a/packages/geom-tessellate/CHANGELOG.md
+++ b/packages/geom-tessellate/CHANGELOG.md
@@ -3,6 +3,22 @@
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/geom-tessellate@0.2.1...@thi.ng/geom-tessellate@0.2.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-tessellate
+
+
+
+
+
+## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.2.0...@thi.ng/geom-tessellate@0.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-tessellate
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.17...@thi.ng/geom-tessellate@0.2.0) (2019-07-07)
diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json
index 9fcfc33214..e5f269ab3a 100644
--- a/packages/geom-tessellate/package.json
+++ b/packages/geom-tessellate/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-tessellate",
- "version": "0.2.0",
+ "version": "0.2.2",
"description": "2D/3D polygon tessellators",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-isec": "^0.3.0",
- "@thi.ng/geom-poly-utils": "^0.1.18",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-isec": "^0.3.2",
+ "@thi.ng/geom-poly-utils": "^0.1.20",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md
index 8910c82ab8..fae195b73a 100644
--- a/packages/geom-voronoi/CHANGELOG.md
+++ b/packages/geom-voronoi/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.19...@thi.ng/geom-voronoi@0.1.20) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/geom-voronoi
+
+
+
+
+
+## [0.1.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.18...@thi.ng/geom-voronoi@0.1.19) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom-voronoi
+
+
+
+
+
## [0.1.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.1.17...@thi.ng/geom-voronoi@0.1.18) (2019-07-07)
**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 4b2250138d..863fa19ec3 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.18",
+ "version": "0.1.20",
"description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,14 +32,14 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-clip": "^0.1.0",
- "@thi.ng/geom-isec": "^0.3.0",
- "@thi.ng/geom-poly-utils": "^0.1.18",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/quad-edge": "^0.2.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-clip": "^0.1.2",
+ "@thi.ng/geom-isec": "^0.3.2",
+ "@thi.ng/geom-poly-utils": "^0.1.20",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/quad-edge": "^0.2.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md
index 2e9b0cb87b..b20479752d 100644
--- a/packages/geom/CHANGELOG.md
+++ b/packages/geom/CHANGELOG.md
@@ -3,6 +3,34 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.7.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.6.1...@thi.ng/geom@1.7.0) (2019-07-12)
+
+
+### Bug Fixes
+
+* **geom:** update asCubic() circle impl (only 99.99% closed) ([36cdb4f](https://github.com/thi-ng/umbrella/commit/36cdb4f))
+
+
+### Features
+
+* **geom:** add asCubic() impls for circle, group, rect ([5ca4166](https://github.com/thi-ng/umbrella/commit/5ca4166))
+* **geom:** add asPath(), update pathFromCubics() to accept opt attribs ([980af9f](https://github.com/thi-ng/umbrella/commit/980af9f))
+* **geom:** add ellipse support for asCubic() ([4247801](https://github.com/thi-ng/umbrella/commit/4247801))
+* **geom:** add polygon impl for asCubic(), add pathFromCubics() ([2faec7f](https://github.com/thi-ng/umbrella/commit/2faec7f))
+* **geom:** add/update transform impls: arc, circle, ellipse, path, rect ([e77e7c2](https://github.com/thi-ng/umbrella/commit/e77e7c2))
+
+
+
+
+
+## [1.6.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.6.0...@thi.ng/geom@1.6.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/geom
+
+
+
+
+
# [1.6.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@1.5.0...@thi.ng/geom@1.6.0) (2019-07-07)
diff --git a/packages/geom/package.json b/packages/geom/package.json
index 086210c695..dac1661ea6 100644
--- a/packages/geom/package.json
+++ b/packages/geom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom",
- "version": "1.6.0",
+ "version": "1.7.0",
"description": "2D geometry types, polymorphic operations, SVG generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,31 +32,31 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/geom-arc": "^0.2.0",
- "@thi.ng/geom-clip": "^0.1.0",
- "@thi.ng/geom-closest-point": "^0.3.0",
- "@thi.ng/geom-hull": "^0.0.20",
- "@thi.ng/geom-isec": "^0.3.0",
- "@thi.ng/geom-poly-utils": "^0.1.18",
- "@thi.ng/geom-resample": "^0.2.0",
- "@thi.ng/geom-splines": "^0.2.0",
- "@thi.ng/geom-subdiv-curve": "^0.1.17",
- "@thi.ng/geom-tessellate": "^0.2.0",
- "@thi.ng/hiccup": "^3.2.0",
- "@thi.ng/hiccup-svg": "^3.2.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/matrices": "^0.5.0",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/geom-arc": "^0.2.2",
+ "@thi.ng/geom-clip": "^0.1.2",
+ "@thi.ng/geom-closest-point": "^0.3.2",
+ "@thi.ng/geom-hull": "^0.0.22",
+ "@thi.ng/geom-isec": "^0.3.2",
+ "@thi.ng/geom-poly-utils": "^0.1.20",
+ "@thi.ng/geom-resample": "^0.2.2",
+ "@thi.ng/geom-splines": "^0.3.0",
+ "@thi.ng/geom-subdiv-curve": "^0.1.19",
+ "@thi.ng/geom-tessellate": "^0.2.2",
+ "@thi.ng/hiccup": "^3.2.1",
+ "@thi.ng/hiccup-svg": "^3.2.2",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/matrices": "^0.5.2",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/geom/src/ctors/path.ts b/packages/geom/src/ctors/path.ts
index e45a1648e1..56675bcb56 100644
--- a/packages/geom/src/ctors/path.ts
+++ b/packages/geom/src/ctors/path.ts
@@ -25,6 +25,15 @@ import { arcFrom2Points } from "./arc";
export const path = (segments: PathSegment[], attribs?: Attribs) =>
new Path(segments, attribs);
+export const pathFromCubics = (cubics: Cubic[], attribs?: Attribs) => {
+ const path = new Path([], attribs || cubics[0].attribs);
+ path.segments.push({ type: SegmentType.MOVE, point: cubics[0].points[0] });
+ for (let c of cubics) {
+ path.segments.push({ type: SegmentType.CUBIC, geo: c });
+ }
+ return path;
+};
+
export const normalizedPath = (path: Path) =>
new Path(
[
diff --git a/packages/geom/src/index.ts b/packages/geom/src/index.ts
index a4bc1b65f2..7e9536b6ed 100644
--- a/packages/geom/src/index.ts
+++ b/packages/geom/src/index.ts
@@ -21,6 +21,7 @@ export * from "./ctors/triangle";
export * from "./ops/arc-length";
export * from "./ops/area";
export * from "./ops/as-cubic";
+export * from "./ops/as-path";
export * from "./ops/as-polygon";
export * from "./ops/as-polyline";
export * from "./ops/as-svg";
diff --git a/packages/geom/src/ops/as-cubic.ts b/packages/geom/src/ops/as-cubic.ts
index c5a19372b6..8f8e6216fb 100644
--- a/packages/geom/src/ops/as-cubic.ts
+++ b/packages/geom/src/ops/as-cubic.ts
@@ -1,76 +1,42 @@
import { IObjectOf } from "@thi.ng/api";
-import { defmulti, Implementation1 } from "@thi.ng/defmulti";
-import { IShape, Type } from "@thi.ng/geom-api";
-import {
- EPS,
- HALF_PI,
- roundEps,
- sincos
-} from "@thi.ng/math";
+import { defmulti, Implementation1, MultiFn1O } from "@thi.ng/defmulti";
+import { CubicOpts, IShape, Type } from "@thi.ng/geom-api";
+import { closedCubicFromBreakPoints, closedCubicFromControlPoints, cubicFromArc } from "@thi.ng/geom-splines";
+import { TAU } from "@thi.ng/math";
import { mapcat } from "@thi.ng/transducers";
-import { add2, magSq2 } from "@thi.ng/vectors";
import {
Arc,
+ Circle,
Cubic,
+ Group,
Line,
Path,
- Quadratic
+ Polygon,
+ Quadratic,
+ Rect
} from "../api";
+import { arc } from "../ctors/arc";
import { cubicFromLine, cubicFromQuadratic } from "../ctors/cubic";
import { dispatch } from "../internal/dispatch";
+import { asPolygon } from "./as-polygon";
-export const asCubic = defmulti(dispatch);
+export const asCubic: MultiFn1O, Cubic[]> = defmulti(
+ dispatch
+);
asCubic.addAll(>>{
- [Type.ARC]: ($: Arc) => {
- const p = $.pointAtTheta($.start);
- const q = $.pointAtTheta($.end);
- const [rx, ry] = $.r;
- const [sphi, cphi] = sincos($.axis);
- const dx = (cphi * (p[0] - q[0])) / 2 + (sphi * (p[1] - q[1])) / 2;
- const dy = (-sphi * (p[0] - q[0])) / 2 + (cphi * (p[1] - q[1])) / 2;
- if ((dx === 0 && dy === 0) || magSq2($.r) < EPS) {
- return [cubicFromLine(p, q, { ...$.attribs })];
- }
-
- const mapP = (x: number, y: number) => {
- x *= rx;
- y *= ry;
- return add2(
- null,
- [cphi * x - sphi * y, sphi * x + cphi * y],
- $.pos
- );
- };
+ [Type.ARC]: ($: Arc) =>
+ cubicFromArc($.pos, $.r, $.axis, $.start, $.end).map(
+ (c) => new Cubic(c, $.attribs)
+ ),
- const res: Cubic[] = [];
- const delta = $.end - $.start;
- const n = Math.max(roundEps(Math.abs(delta) / HALF_PI, 1e-3), 1);
- // https://github.com/chromium/chromium/blob/master/third_party/blink/renderer/core/svg/svg_path_parser.cc#L253
- const d = delta / n;
- const t = (8 / 6) * Math.tan(0.25 * d);
- if (!isFinite(t)) {
- return [cubicFromLine(p, q)];
- }
- for (let i = n, theta = $.start; i > 0; i--, theta += d) {
- const [s1, c1] = sincos(theta);
- const [s2, c2] = sincos(theta + d);
- const curve = new Cubic(
- [
- mapP(c1, s1),
- mapP(c1 - s1 * t, s1 + c1 * t),
- mapP(c2 + s2 * t, s2 - c2 * t),
- mapP(c2, s2)
- ],
- { ...$.attribs }
- );
- res.push(curve);
- }
- return res;
- },
+ [Type.CIRCLE]: ($: Circle) =>
+ asCubic(arc($.pos, $.r, 0, 0, TAU * 0.999, true, true)),
[Type.CUBIC]: ($: Cubic) => [$],
+ [Type.GROUP]: ($: Group) => [...mapcat(asCubic, $.children)],
+
[Type.LINE]: ({ attribs, points }: Line) => [
cubicFromLine(points[0], points[1], { ...attribs })
],
@@ -79,7 +45,19 @@ asCubic.addAll(>>{
...mapcat((s) => (s.geo ? asCubic(s.geo) : null), $.segments)
],
+ [Type.POLYGON]: ($: Polygon, opts: Partial = {}) => {
+ opts = { breakPoints: false, scale: 1 / 3, uniform: false, ...opts };
+ return (opts.breakPoints
+ ? closedCubicFromBreakPoints($.points, opts.scale, opts.uniform)
+ : closedCubicFromControlPoints($.points, opts.scale, opts.uniform)
+ ).map((pts) => new Cubic(pts, { ...$.attribs }));
+ },
+
[Type.QUADRATIC]: ({ attribs, points }: Quadratic) => [
cubicFromQuadratic(points[0], points[1], points[2], { ...attribs })
- ]
+ ],
+
+ [Type.RECT]: ($: Rect, opts?) => asCubic(asPolygon($), opts)
});
+
+asCubic.isa(Type.ELLIPSE, Type.CIRCLE);
diff --git a/packages/geom/src/ops/as-path.ts b/packages/geom/src/ops/as-path.ts
new file mode 100644
index 0000000000..57a2db7105
--- /dev/null
+++ b/packages/geom/src/ops/as-path.ts
@@ -0,0 +1,6 @@
+import { Attribs, IShape } from "@thi.ng/geom-api";
+import { pathFromCubics } from "../ctors/path";
+import { asCubic } from "./as-cubic";
+
+export const asPath = (src: IShape, attribs?: Attribs) =>
+ pathFromCubics(asCubic(src), attribs);
diff --git a/packages/geom/src/ops/transform.ts b/packages/geom/src/ops/transform.ts
index 7121327ec0..894cc632c0 100644
--- a/packages/geom/src/ops/transform.ts
+++ b/packages/geom/src/ops/transform.ts
@@ -3,34 +3,50 @@ import { defmulti, Implementation2 } from "@thi.ng/defmulti";
import {
IHiccupShape,
IShape,
+ PathSegment,
PCLike,
PCLikeConstructor,
+ SegmentType,
Type
} from "@thi.ng/geom-api";
-import { ReadonlyMat } from "@thi.ng/matrices";
+import { mulV, ReadonlyMat } from "@thi.ng/matrices";
+import { map } from "@thi.ng/transducers";
import {
Cubic,
Group,
Line,
+ Path,
Points,
Polygon,
Polyline,
Quad,
Quadratic,
+ Rect,
Triangle
} from "../api";
import { dispatch } from "../internal/dispatch";
-import { transformedPoints, transformPoints } from "../internal/transform-points";
-import { vertices } from "./vertices";
+import { transformedPoints } from "../internal/transform-points";
+import { asPath } from "./as-path";
+import { asPolygon } from "./as-polygon";
const tx = (ctor: PCLikeConstructor) => ($: PCLike, mat: ReadonlyMat) =>
new ctor(transformedPoints($.points, mat), { ...$.attribs });
+/**
+ * Transforms given shape with provided matrix. Some shape types will be
+ * automatically converted to other types prior to transformation because they
+ * cannot be reliably represented in their original type anymore, this
+ * includes:
+ *
+ * - Arc => Path (cubics)
+ * - Circle => Path (cubics)
+ * - Ellipse => Path (cubics)
+ * - Rect => Polygon
+ */
export const transform = defmulti(dispatch);
transform.addAll(>>{
- [Type.CIRCLE]: ($: IShape, mat) =>
- new Polygon(transformPoints(vertices($), mat), { ...$.attribs }),
+ [Type.ARC]: ($: IShape, mat) => transform(asPath($), mat),
[Type.CUBIC]: tx(Cubic),
@@ -42,6 +58,26 @@ transform.addAll(>>{
[Type.LINE]: tx(Line),
+ [Type.PATH]: ($: Path, mat) =>
+ new Path(
+ [
+ ...map(
+ (s) =>
+ s.type === SegmentType.MOVE
+ ? {
+ type: s.type,
+ point: mulV([], mat, s.point!)
+ }
+ : {
+ type: s.type,
+ geo: transform(s.geo!, mat)
+ },
+ $.segments
+ )
+ ],
+ $.attribs
+ ),
+
[Type.POINTS]: tx(Points),
[Type.POLYGON]: tx(Polygon),
@@ -52,8 +88,10 @@ transform.addAll(>>{
[Type.QUADRATIC]: tx(Quadratic),
+ [Type.RECT]: ($: Rect, mat) => transform(asPolygon($), mat),
+
[Type.TRIANGLE]: tx(Triangle)
});
+transform.isa(Type.CIRCLE, Type.ARC);
transform.isa(Type.ELLIPSE, Type.CIRCLE);
-transform.isa(Type.RECT, Type.CIRCLE);
diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md
index 9384f979a3..fdfd1d07e3 100644
--- a/packages/hdom-canvas/CHANGELOG.md
+++ b/packages/hdom-canvas/CHANGELOG.md
@@ -3,6 +3,22 @@
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/hdom-canvas@2.1.1...@thi.ng/hdom-canvas@2.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hdom-canvas
+
+
+
+
+
+## [2.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.1.0...@thi.ng/hdom-canvas@2.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/hdom-canvas
+
+
+
+
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@2.0.18...@thi.ng/hdom-canvas@2.1.0) (2019-07-07)
diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json
index 1d99572ba0..c19b7029f8 100644
--- a/packages/hdom-canvas/package.json
+++ b/packages/hdom-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-canvas",
- "version": "2.1.0",
+ "version": "2.1.2",
"description": "Declarative canvas scenegraph & visualization for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/color": "^0.2.0",
- "@thi.ng/diff": "^3.2.0",
- "@thi.ng/hdom": "^8.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/color": "^0.2.2",
+ "@thi.ng/diff": "^3.2.1",
+ "@thi.ng/hdom": "^8.0.1"
},
"keywords": [
"ES6",
diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md
index 617f824f51..fbab0d9fc0 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.1.0...@thi.ng/hdom-components@3.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hdom-components
+
+
+
+
+
# [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@3.0.20...@thi.ng/hdom-components@3.1.0) (2019-07-07)
diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json
index 95b08f653c..b6f7a67a67 100644
--- a/packages/hdom-components/package.json
+++ b/packages/hdom-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-components",
- "version": "3.1.0",
+ "version": "3.1.1",
"description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/transducers-stats": "^1.1.0",
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/transducers-stats": "^1.1.1",
"@types/webgl2": "^0.0.4"
},
"keywords": [
diff --git a/packages/hdom-mock/CHANGELOG.md b/packages/hdom-mock/CHANGELOG.md
index 79bf342246..68065825fe 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.0...@thi.ng/hdom-mock@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hdom-mock
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.0.16...@thi.ng/hdom-mock@1.1.0) (2019-07-07)
diff --git a/packages/hdom-mock/package.json b/packages/hdom-mock/package.json
index d7227a989e..e2e6e5f7be 100644
--- a/packages/hdom-mock/package.json
+++ b/packages/hdom-mock/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-mock",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Mock base implementation for @thi.ng/hdom API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/hdom": "^8.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/hdom": "^8.0.1"
},
"keywords": [
"ES6",
diff --git a/packages/hdom/CHANGELOG.md b/packages/hdom/CHANGELOG.md
index 79fb5aeea4..c136b727f1 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.
+## [8.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.0.0...@thi.ng/hdom@8.0.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hdom
+
+
+
+
+
# [8.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@7.2.8...@thi.ng/hdom@8.0.0) (2019-07-07)
diff --git a/packages/hdom/package.json b/packages/hdom/package.json
index 7a0f7e05f2..113f3d3c8f 100644
--- a/packages/hdom/package.json
+++ b/packages/hdom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom",
- "version": "8.0.0",
+ "version": "8.0.1",
"description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@thi.ng/atom": "^3.0.0",
+ "@thi.ng/atom": "^3.0.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.8",
"mocha": "^6.1.4",
@@ -33,12 +33,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/diff": "^3.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/hiccup": "^3.2.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/diff": "^3.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/hiccup": "^3.2.1"
},
"keywords": [
"browser",
diff --git a/packages/heaps/CHANGELOG.md b/packages/heaps/CHANGELOG.md
index eb4adf73d6..d26e90ec37 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.1.0...@thi.ng/heaps@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/heaps
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.0.10...@thi.ng/heaps@1.1.0) (2019-07-07)
diff --git a/packages/heaps/package.json b/packages/heaps/package.json
index 7efe33ca89..8409b066fd 100644
--- a/packages/heaps/package.json
+++ b/packages/heaps/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/heaps",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Generic binary heap & d-ary heap implementations with customizable ordering",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/compare": "^1.0.7"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/compare": "^1.0.8"
},
"keywords": [
"data structure",
diff --git a/packages/hiccup-carbon-icons/CHANGELOG.md b/packages/hiccup-carbon-icons/CHANGELOG.md
index 30c339b66a..948d5b67da 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.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.15...@thi.ng/hiccup-carbon-icons@1.0.16) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons
+
+
+
+
+
## [1.0.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@1.0.14...@thi.ng/hiccup-carbon-icons@1.0.15) (2019-07-07)
**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 be4b48620c..0afd0183fe 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.15",
+ "version": "1.0.16",
"description": "Full set of IBM's Carbon icons in hiccup format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@thi.ng/hiccup": "^3.2.0",
+ "@thi.ng/hiccup": "^3.2.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.8",
"mocha": "^6.1.4",
diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md
index ac58111224..f5403baeff 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.0...@thi.ng/hiccup-css@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hiccup-css
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.0.19...@thi.ng/hiccup-css@1.1.0) (2019-07-07)
diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json
index 581a1194e8..7b193074e7 100644
--- a/packages/hiccup-css/package.json
+++ b/packages/hiccup-css/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-css",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "CSS from nested JS data structures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"clojure",
diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md
index d64f4197d7..5a77550296 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.1.0...@thi.ng/hiccup-markdown@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hiccup-markdown
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.0.22...@thi.ng/hiccup-markdown@1.1.0) (2019-07-07)
diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json
index 23a5cb903f..1e8a64a7f9 100644
--- a/packages/hiccup-markdown/package.json
+++ b/packages/hiccup-markdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-markdown",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Markdown serialization of hiccup DOM trees",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,14 +32,14 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/fsm": "^2.2.0",
- "@thi.ng/hiccup": "^3.2.0",
- "@thi.ng/strings": "^1.2.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/fsm": "^2.2.1",
+ "@thi.ng/hiccup": "^3.2.1",
+ "@thi.ng/strings": "^1.2.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"ES6",
diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md
index 9a95d0b1cb..85b65e74c7 100644
--- a/packages/hiccup-svg/CHANGELOG.md
+++ b/packages/hiccup-svg/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.2.1...@thi.ng/hiccup-svg@3.2.2) (2019-07-12)
+
+
+### Bug Fixes
+
+* **hiccup-svg:** update points(), use centered rects ([c7d6aaa](https://github.com/thi-ng/umbrella/commit/c7d6aaa))
+
+
+
+
+
+## [3.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.2.0...@thi.ng/hiccup-svg@3.2.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/hiccup-svg
+
+
+
+
+
# [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.1.22...@thi.ng/hiccup-svg@3.2.0) (2019-07-07)
diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json
index df023459f1..4cd50e97b2 100644
--- a/packages/hiccup-svg/package.json
+++ b/packages/hiccup-svg/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-svg",
- "version": "3.2.0",
+ "version": "3.2.2",
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/color": "^0.2.0",
- "@thi.ng/hiccup": "^3.2.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/color": "^0.2.2",
+ "@thi.ng/hiccup": "^3.2.1"
},
"keywords": [
"components",
diff --git a/packages/hiccup-svg/src/points.ts b/packages/hiccup-svg/src/points.ts
index cb9ec1a1d7..318185a7bc 100644
--- a/packages/hiccup-svg/src/points.ts
+++ b/packages/hiccup-svg/src/points.ts
@@ -28,7 +28,10 @@ export const points = (
{ opacity: 0 },
shape === "circle"
? ["circle", { id: href, cx: 0, cy: 0, r: r }]
- : ["rect", { id: href, x: 0, y: 0, width: r, height: r }]
+ : [
+ "rect",
+ { id: href, x: -r / 2, y: -r / 2, width: r, height: r }
+ ]
]);
href = "#" + href;
} else {
diff --git a/packages/hiccup/CHANGELOG.md b/packages/hiccup/CHANGELOG.md
index 471c0151bb..8805918ae9 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.2.0...@thi.ng/hiccup@3.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/hiccup
+
+
+
+
+
# [3.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.1.9...@thi.ng/hiccup@3.2.0) (2019-07-07)
diff --git a/packages/hiccup/package.json b/packages/hiccup/package.json
index 2ff8ea84e3..287fbc9cfe 100644
--- a/packages/hiccup/package.json
+++ b/packages/hiccup/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup",
- "version": "3.2.0",
+ "version": "3.2.1",
"description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@thi.ng/atom": "^3.0.0",
+ "@thi.ng/atom": "^3.0.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.8",
"mocha": "^6.1.4",
@@ -33,8 +33,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"clojure",
diff --git a/packages/iges/CHANGELOG.md b/packages/iges/CHANGELOG.md
index a923c8242f..88d6e1490f 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.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.1.5...@thi.ng/iges@1.1.6) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/iges
+
+
+
+
+
## [1.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.1.4...@thi.ng/iges@1.1.5) (2019-07-07)
**Note:** Version bump only for package @thi.ng/iges
diff --git a/packages/iges/package.json b/packages/iges/package.json
index 64d0fed7cb..ba8c60c07b 100644
--- a/packages/iges/package.json
+++ b/packages/iges/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/iges",
- "version": "1.1.5",
+ "version": "1.1.6",
"description": "IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/strings": "^1.2.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/strings": "^1.2.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"CAD",
diff --git a/packages/interceptors/CHANGELOG.md b/packages/interceptors/CHANGELOG.md
index 648de9a136..c662f05d83 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.1.0...@thi.ng/interceptors@2.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/interceptors
+
+
+
+
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.0.12...@thi.ng/interceptors@2.1.0) (2019-07-07)
diff --git a/packages/interceptors/package.json b/packages/interceptors/package.json
index 9013070b6c..1418c36b9b 100644
--- a/packages/interceptors/package.json
+++ b/packages/interceptors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/interceptors",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "Interceptor based event bus, side effect & immutable state handling",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/atom": "^3.0.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/paths": "^2.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/atom": "^3.0.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/paths": "^2.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/intervals/CHANGELOG.md b/packages/intervals/CHANGELOG.md
index 12357539d5..40ba38fb25 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.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@1.0.10...@thi.ng/intervals@1.0.11) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/intervals
+
+
+
+
+
## [1.0.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@1.0.9...@thi.ng/intervals@1.0.10) (2019-07-07)
**Note:** Version bump only for package @thi.ng/intervals
diff --git a/packages/intervals/package.json b/packages/intervals/package.json
index 9538cf0a08..0c9cc4f9e1 100644
--- a/packages/intervals/package.json
+++ b/packages/intervals/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/intervals",
- "version": "1.0.10",
+ "version": "1.0.11",
"description": "Closed/open/semi-open interval data type, queries & operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/iterators/CHANGELOG.md b/packages/iterators/CHANGELOG.md
index 022ac0ea82..45f4f7e9aa 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.1.0...@thi.ng/iterators@5.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/iterators
+
+
+
+
+
# [5.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.0.19...@thi.ng/iterators@5.1.0) (2019-07-07)
diff --git a/packages/iterators/package.json b/packages/iterators/package.json
index 9eabe9d807..50afce20a4 100644
--- a/packages/iterators/package.json
+++ b/packages/iterators/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/iterators",
- "version": "5.1.0",
+ "version": "5.1.1",
"description": "clojure.core inspired, composable ES6 iterators & generators",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"clojure",
diff --git a/packages/leb128/CHANGELOG.md b/packages/leb128/CHANGELOG.md
index c1e49f8af8..cc941ffba3 100644
--- a/packages/leb128/CHANGELOG.md
+++ b/packages/leb128/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@0.1.0...@thi.ng/leb128@0.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/leb128
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/leb128/package.json b/packages/leb128/package.json
index 9de7398e70..301a184356 100644
--- a/packages/leb128/package.json
+++ b/packages/leb128/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/leb128",
- "version": "0.1.0",
+ "version": "0.1.1",
"description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers-binary": "^0.4.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers-binary": "^0.4.1"
},
"keywords": [
"LEB128",
diff --git a/packages/lsys/CHANGELOG.md b/packages/lsys/CHANGELOG.md
index 1418f5292f..6ab5b2b2c1 100644
--- a/packages/lsys/CHANGELOG.md
+++ b/packages/lsys/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.16...@thi.ng/lsys@0.2.17) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/lsys
+
+
+
+
+
+## [0.2.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.15...@thi.ng/lsys@0.2.16) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/lsys
+
+
+
+
+
## [0.2.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.14...@thi.ng/lsys@0.2.15) (2019-07-07)
**Note:** Version bump only for package @thi.ng/lsys
diff --git a/packages/lsys/package.json b/packages/lsys/package.json
index 07ed264ac5..e62a5cb481 100644
--- a/packages/lsys/package.json
+++ b/packages/lsys/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/lsys",
- "version": "0.2.15",
+ "version": "0.2.17",
"description": "Functional, extensible L-System architecture w/ support for probabilistic rules",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"axiom",
diff --git a/packages/malloc/CHANGELOG.md b/packages/malloc/CHANGELOG.md
index 5d9c5a5278..1e3a94bc63 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.
+## [4.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@4.0.0...@thi.ng/malloc@4.0.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/malloc
+
+
+
+
+
# [4.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@3.0.0...@thi.ng/malloc@4.0.0) (2019-07-07)
diff --git a/packages/malloc/package.json b/packages/malloc/package.json
index 81951faf3b..936e749f59 100644
--- a/packages/malloc/package.json
+++ b/packages/malloc/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/malloc",
- "version": "4.0.0",
+ "version": "4.0.1",
"description": "ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/math/CHANGELOG.md b/packages/math/CHANGELOG.md
index deedda345e..d8797d2fe3 100644
--- a/packages/math/CHANGELOG.md
+++ b/packages/math/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.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.4.0...@thi.ng/math@1.4.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/math
+
+
+
+
+
# [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@1.3.0...@thi.ng/math@1.4.0) (2019-07-07)
diff --git a/packages/math/package.json b/packages/math/package.json
index be36493e47..d262ca922e 100644
--- a/packages/math/package.json
+++ b/packages/math/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/math",
- "version": "1.4.0",
+ "version": "1.4.1",
"description": "Assorted common math functions & utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/matrices/CHANGELOG.md b/packages/matrices/CHANGELOG.md
index fa720909a3..4b7dad6289 100644
--- a/packages/matrices/CHANGELOG.md
+++ b/packages/matrices/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.5.1...@thi.ng/matrices@0.5.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/matrices
+
+
+
+
+
+## [0.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.5.0...@thi.ng/matrices@0.5.1) (2019-07-08)
+
+
+### Bug Fixes
+
+* **matrices:** mixQ result handling ([cc9ab35](https://github.com/thi-ng/umbrella/commit/cc9ab35))
+
+
+
+
+
# [0.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.4.0...@thi.ng/matrices@0.5.0) (2019-07-07)
diff --git a/packages/matrices/package.json b/packages/matrices/package.json
index cb03d0fefc..e6659c5298 100644
--- a/packages/matrices/package.json
+++ b/packages/matrices/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/matrices",
- "version": "0.5.0",
+ "version": "0.5.2",
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2D",
diff --git a/packages/matrices/src/mixq.ts b/packages/matrices/src/mixq.ts
index 8486ed77d6..c9645127b7 100644
--- a/packages/matrices/src/mixq.ts
+++ b/packages/matrices/src/mixq.ts
@@ -37,7 +37,8 @@ export const mixQ = (
u = Math.sin(theta * (1 - t)) / stheta;
v = Math.sin(theta * t) / stheta;
}
- return maddN4(null, b, v, mulN4(out, a, u));
+ !out && (out = a);
+ return maddN4(out, b, v, mulN4(out, a, u));
}
return a !== out ? set4(out, a) : out;
};
diff --git a/packages/memoize/CHANGELOG.md b/packages/memoize/CHANGELOG.md
index 2b30cbd89f..e3225541e9 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.1.0...@thi.ng/memoize@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/memoize
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/memoize@1.0.9...@thi.ng/memoize@1.1.0) (2019-07-07)
diff --git a/packages/memoize/package.json b/packages/memoize/package.json
index 91c0aafc04..23ded0f30a 100644
--- a/packages/memoize/package.json
+++ b/packages/memoize/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/memoize",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Function memoization with configurable caches",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0"
+ "@thi.ng/api": "^6.3.1"
},
"keywords": [
"cache",
diff --git a/packages/morton/CHANGELOG.md b/packages/morton/CHANGELOG.md
index 8c95bdb219..8102d1c68a 100644
--- a/packages/morton/CHANGELOG.md
+++ b/packages/morton/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/morton@1.1.0...@thi.ng/morton@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/morton
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/morton@1.0.9...@thi.ng/morton@1.1.0) (2019-07-07)
diff --git a/packages/morton/package.json b/packages/morton/package.json
index 8722904236..d28b29b5a3 100644
--- a/packages/morton/package.json
+++ b/packages/morton/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/morton",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Z-order-curve / Morton encoding & decoding for 1D, 2D, 3D",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/math": "^1.4.0"
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/math": "^1.4.1"
},
"keywords": [
"binary",
diff --git a/packages/paths/CHANGELOG.md b/packages/paths/CHANGELOG.md
index bccc02103f..e984264df2 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@2.1.0...@thi.ng/paths@2.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/paths
+
+
+
+
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@2.0.9...@thi.ng/paths@2.1.0) (2019-07-07)
diff --git a/packages/paths/package.json b/packages/paths/package.json
index 6723f53266..7543f3a0db 100644
--- a/packages/paths/package.json
+++ b/packages/paths/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/paths",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "immutable, optimized path-based object property / array accessors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"accessors",
diff --git a/packages/pointfree-lang/CHANGELOG.md b/packages/pointfree-lang/CHANGELOG.md
index 7ccabcf58c..2801d0c221 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.1.0...@thi.ng/pointfree-lang@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/pointfree-lang
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.0.14...@thi.ng/pointfree-lang@1.1.0) (2019-07-07)
diff --git a/packages/pointfree-lang/package.json b/packages/pointfree-lang/package.json
index 3c381be50b..65910709f2 100644
--- a/packages/pointfree-lang/package.json
+++ b/packages/pointfree-lang/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pointfree-lang",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Forth style syntax layer/compiler for the @thi.ng/pointfree DSL",
"module": "./index.js",
"main": "./lib/index.js",
@@ -22,7 +22,7 @@
"pegtest": "pegjs -o build/src/parser.js src/grammar.pegjs",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -34,9 +34,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/pointfree": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/pointfree": "^1.1.1"
},
"keywords": [
"concatenative",
diff --git a/packages/pointfree/CHANGELOG.md b/packages/pointfree/CHANGELOG.md
index 75b6b3470b..26a1c86af0 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.1.0...@thi.ng/pointfree@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/pointfree
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@1.0.14...@thi.ng/pointfree@1.1.0) (2019-07-07)
diff --git a/packages/pointfree/package.json b/packages/pointfree/package.json
index bd5e5c5735..f021f81062 100644
--- a/packages/pointfree/package.json
+++ b/packages/pointfree/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pointfree",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Pointfree functional composition / Forth style stack execution engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"composition",
diff --git a/packages/poisson/CHANGELOG.md b/packages/poisson/CHANGELOG.md
index 65fd50ab70..d5be427355 100644
--- a/packages/poisson/CHANGELOG.md
+++ b/packages/poisson/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.18...@thi.ng/poisson@0.2.19) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/poisson
+
+
+
+
+
+## [0.2.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.17...@thi.ng/poisson@0.2.18) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/poisson
+
+
+
+
+
## [0.2.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@0.2.16...@thi.ng/poisson@0.2.17) (2019-07-07)
**Note:** Version bump only for package @thi.ng/poisson
diff --git a/packages/poisson/package.json b/packages/poisson/package.json
index d69c915daa..01e6e64317 100644
--- a/packages/poisson/package.json
+++ b/packages/poisson/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/poisson",
- "version": "0.2.17",
+ "version": "0.2.19",
"description": "nD Poisson-disc sampling w/ support for spatial density functions and custom PRNGs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/geom-api": "^0.2.4",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/geom-api": "^0.3.0",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"2d",
diff --git a/packages/quad-edge/CHANGELOG.md b/packages/quad-edge/CHANGELOG.md
index 641d183178..a0c98827b3 100644
--- a/packages/quad-edge/CHANGELOG.md
+++ b/packages/quad-edge/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/quad-edge@0.2.0...@thi.ng/quad-edge@0.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/quad-edge
+
+
+
+
+
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/quad-edge@0.1.4...@thi.ng/quad-edge@0.2.0) (2019-07-07)
diff --git a/packages/quad-edge/package.json b/packages/quad-edge/package.json
index 156e2a4da6..80d913508f 100644
--- a/packages/quad-edge/package.json
+++ b/packages/quad-edge/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/quad-edge",
- "version": "0.2.0",
+ "version": "0.2.1",
"description": "Quadedge data structure after Guibas & Stolfi",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/random/CHANGELOG.md b/packages/random/CHANGELOG.md
index e3bb38fa24..dbc9b4d35b 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.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/random@1.1.8...@thi.ng/random@1.1.9) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/random
+
+
+
+
+
## [1.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/random@1.1.7...@thi.ng/random@1.1.8) (2019-07-07)
**Note:** Version bump only for package @thi.ng/random
diff --git a/packages/random/package.json b/packages/random/package.json
index 6c3dbd757b..ea26771cc2 100644
--- a/packages/random/package.json
+++ b/packages/random/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/random",
- "version": "1.1.8",
+ "version": "1.1.9",
"description": "Pseudo-random number generators w/ unified API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0"
+ "@thi.ng/api": "^6.3.1"
},
"keywords": [
"ES6",
diff --git a/packages/range-coder/CHANGELOG.md b/packages/range-coder/CHANGELOG.md
index 39049246e9..fef61e2bbc 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.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.20...@thi.ng/range-coder@1.0.21) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/range-coder
+
+
+
+
+
## [1.0.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.19...@thi.ng/range-coder@1.0.20) (2019-07-07)
**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 1990723982..ee356d00ac 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.20",
+ "version": "1.0.21",
"description": "Binary data range encoder / decoder",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,11 +20,11 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@thi.ng/transducers": "^5.4.0",
+ "@thi.ng/transducers": "^5.4.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.8",
"mocha": "^6.1.4",
@@ -33,7 +33,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/bitstream": "^1.1.0"
+ "@thi.ng/bitstream": "^1.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/resolve-map/CHANGELOG.md b/packages/resolve-map/CHANGELOG.md
index a51af696a5..4fdb37c0f9 100644
--- a/packages/resolve-map/CHANGELOG.md
+++ b/packages/resolve-map/CHANGELOG.md
@@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [4.1.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.2...@thi.ng/resolve-map@4.1.3) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/resolve-map
+
+
+
+
+
+## [4.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.1...@thi.ng/resolve-map@4.1.2) (2019-07-08)
+
+
+### Bug Fixes
+
+* **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update to consider trailing comma & whitespace ([de9532b](https://github.com/thi-ng/umbrella/commit/de9532b))
+
+
+
+
+
+## [4.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.1.0...@thi.ng/resolve-map@4.1.1) (2019-07-08)
+
+
+### Bug Fixes
+
+* **resolve-map:** fix [#97](https://github.com/thi-ng/umbrella/issues/97), update fn arg destructuring ([e68dc19](https://github.com/thi-ng/umbrella/commit/e68dc19))
+
+
+
+
+
# [4.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.0.12...@thi.ng/resolve-map@4.1.0) (2019-07-07)
diff --git a/packages/resolve-map/package.json b/packages/resolve-map/package.json
index 93793dfa9a..4e74481a53 100644
--- a/packages/resolve-map/package.json
+++ b/packages/resolve-map/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/resolve-map",
- "version": "4.1.0",
+ "version": "4.1.3",
"description": "DAG resolution of vanilla objects & arrays with internally linked values",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -31,10 +31,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/paths": "^2.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/paths": "^2.1.1"
},
"keywords": [
"configuration",
diff --git a/packages/resolve-map/src/index.ts b/packages/resolve-map/src/index.ts
index bfd2e1186e..dff5ce607a 100644
--- a/packages/resolve-map/src/index.ts
+++ b/packages/resolve-map/src/index.ts
@@ -244,7 +244,8 @@ const resolveFunction = (
let res;
if (match) {
const args = match[2]
- .replace(/\s/g, "")
+ // remove white space and trailing comma
+ .replace(/\s|(,\s*$)/g, "")
.split(/,/g)
.map((k) => k.split(":")[0])
.reduce((acc: any, k) => ((acc[k] = resolve(k)), acc), {});
diff --git a/packages/resolve-map/test/index.ts b/packages/resolve-map/test/index.ts
index f4c66b8915..85d0dddda0 100644
--- a/packages/resolve-map/test/index.ts
+++ b/packages/resolve-map/test/index.ts
@@ -2,7 +2,6 @@ import * as tx from "@thi.ng/transducers";
import * as assert from "assert";
import { resolve, ResolveFn } from "../src/index";
-
describe("resolve-map", () => {
it("simple", () => {
assert.deepEqual(resolve({ a: 1, b: "@a" }), { a: 1, b: 1 });
@@ -146,4 +145,39 @@ describe("resolve-map", () => {
}
);
});
+
+ it("destructures w/ local renames", () => {
+ assert.deepEqual(resolve({ a: 1, b: ({ a: aa }: any) => aa }), {
+ a: 1,
+ b: 1
+ });
+ });
+
+ it("destructures w/ trailing comma", () => {
+ assert.deepEqual(
+ // since prettier is running over this file
+ // build function dynamically to force trailing comma
+ resolve({ a: 1, b: 2, c: new Function("{a,b,}", "return a + b") }),
+ { a: 1, b: 2, c: 3 },
+ "comma only"
+ );
+ assert.deepEqual(
+ resolve({
+ a: 1,
+ b: 2,
+ c: new Function("{ a, b, }", "return a + b")
+ }),
+ { a: 1, b: 2, c: 3 },
+ "comma & whitespaces"
+ );
+ assert.deepEqual(
+ resolve({
+ a: 1,
+ b: 2,
+ c: new Function("{ a, b: bb, }", "return a + bb")
+ }),
+ { a: 1, b: 2, c: 3 },
+ "comma & whitespaces & rename"
+ );
+ });
});
diff --git a/packages/rle-pack/CHANGELOG.md b/packages/rle-pack/CHANGELOG.md
index c9838ca323..016e37a705 100644
--- a/packages/rle-pack/CHANGELOG.md
+++ b/packages/rle-pack/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.1.0...@thi.ng/rle-pack@2.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rle-pack
+
+
+
+
+
# [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.0.6...@thi.ng/rle-pack@2.1.0) (2019-07-07)
diff --git a/packages/rle-pack/package.json b/packages/rle-pack/package.json
index 9f7ef662b5..9bccabd68f 100644
--- a/packages/rle-pack/package.json
+++ b/packages/rle-pack/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rle-pack",
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "Binary run-length encoding packer w/ flexible repeat bit widths",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -33,8 +33,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/bitstream": "^1.1.0",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/bitstream": "^1.1.1",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"binary",
diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md
index e885a2e714..67de667dd6 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.
+## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@2.0.0...@thi.ng/router@2.0.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/router
+
+
+
+
+
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@1.0.12...@thi.ng/router@2.0.0) (2019-07-07)
diff --git a/packages/router/package.json b/packages/router/package.json
index 684397d86b..2b3011c394 100644
--- a/packages/router/package.json
+++ b/packages/router/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/router",
- "version": "2.0.0",
+ "version": "2.0.1",
"description": "Generic router for browser & non-browser based applications",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"browser",
diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md
index 63bfb70104..12aaf79186 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.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.27...@thi.ng/rstream-csp@1.0.28) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-csp
+
+
+
+
+
## [1.0.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@1.0.26...@thi.ng/rstream-csp@1.0.27) (2019-07-07)
**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 ba4c9cc223..dad955fe11 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.27",
+ "version": "1.0.28",
"description": "@thi.ng/csp bridge module for @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib from",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/csp": "^1.1.0",
- "@thi.ng/rstream": "^2.5.0"
+ "@thi.ng/csp": "^1.1.1",
+ "@thi.ng/rstream": "^2.5.1"
},
"keywords": [
"bridge",
diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md
index 140a74ffd0..6e6760874c 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.1.0...@thi.ng/rstream-dot@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-dot
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.26...@thi.ng/rstream-dot@1.1.0) (2019-07-07)
diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json
index 197898e534..9fb0e960e2 100644
--- a/packages/rstream-dot/package.json
+++ b/packages/rstream-dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-dot",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/rstream": "^2.5.0"
+ "@thi.ng/rstream": "^2.5.1"
},
"keywords": [
"conversion",
diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md
index 4ee70df36a..4921ba6b30 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.2.0...@thi.ng/rstream-gestures@1.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-gestures
+
+
+
+
+
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@1.1.4...@thi.ng/rstream-gestures@1.2.0) (2019-07-07)
diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json
index 3fde3a16ec..12bf66cc2f 100644
--- a/packages/rstream-gestures/package.json
+++ b/packages/rstream-gestures/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-gestures",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Unified mouse, mouse wheel & single-touch event stream abstraction",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/rstream": "^2.5.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/rstream": "^2.5.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"dataflow",
diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md
index b9e4555aa2..e8a6c1e930 100644
--- a/packages/rstream-graph/CHANGELOG.md
+++ b/packages/rstream-graph/CHANGELOG.md
@@ -3,6 +3,30 @@
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/rstream-graph@3.1.2...@thi.ng/rstream-graph@3.1.3) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-graph
+
+
+
+
+
+## [3.1.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.1.1...@thi.ng/rstream-graph@3.1.2) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/rstream-graph
+
+
+
+
+
+## [3.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.1.0...@thi.ng/rstream-graph@3.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/rstream-graph
+
+
+
+
+
# [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.0.26...@thi.ng/rstream-graph@3.1.0) (2019-07-07)
diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json
index c6bbef2ad2..3e405421b0 100644
--- a/packages/rstream-graph/package.json
+++ b/packages/rstream-graph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-graph",
- "version": "3.1.0",
+ "version": "3.1.3",
"description": "Declarative dataflow graph construction for @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/paths": "^2.1.0",
- "@thi.ng/resolve-map": "^4.1.0",
- "@thi.ng/rstream": "^2.5.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/paths": "^2.1.1",
+ "@thi.ng/resolve-map": "^4.1.3",
+ "@thi.ng/rstream": "^2.5.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"compute",
diff --git a/packages/rstream-log-file/CHANGELOG.md b/packages/rstream-log-file/CHANGELOG.md
index 977fc60e81..955f154273 100644
--- a/packages/rstream-log-file/CHANGELOG.md
+++ b/packages/rstream-log-file/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.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log-file@0.1.15...@thi.ng/rstream-log-file@0.1.16) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-log-file
+
+
+
+
+
## [0.1.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log-file@0.1.14...@thi.ng/rstream-log-file@0.1.15) (2019-07-07)
**Note:** Version bump only for package @thi.ng/rstream-log-file
diff --git a/packages/rstream-log-file/package.json b/packages/rstream-log-file/package.json
index 2f94c65a6e..e25fe5aa28 100644
--- a/packages/rstream-log-file/package.json
+++ b/packages/rstream-log-file/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-log-file",
- "version": "0.1.15",
+ "version": "0.1.16",
"description": "File output handler for structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/rstream": "^2.5.0"
+ "@thi.ng/rstream": "^2.5.1"
},
"keywords": [
"append",
diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md
index eaa4dd8208..1096e5bccd 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.
+## [3.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@3.1.0...@thi.ng/rstream-log@3.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-log
+
+
+
+
+
# [3.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@3.0.14...@thi.ng/rstream-log@3.1.0) (2019-07-07)
diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json
index f60e60a5e9..3b752635f7 100644
--- a/packages/rstream-log/package.json
+++ b/packages/rstream-log/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-log",
- "version": "3.1.0",
+ "version": "3.1.1",
"description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/rstream": "^2.5.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/rstream": "^2.5.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"ES6",
diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md
index 3f6c398d7d..ef144f1727 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.1.0...@thi.ng/rstream-query@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream-query
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.0.26...@thi.ng/rstream-query@1.1.0) (2019-07-07)
diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json
index 0bc673ee27..5eaaaa378f 100644
--- a/packages/rstream-query/package.json
+++ b/packages/rstream-query/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-query",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "@thi.ng/rstream based triple store & reactive query engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,14 +32,14 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/associative": "^2.4.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/rstream": "^2.5.0",
- "@thi.ng/rstream-dot": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/associative": "^2.4.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/rstream": "^2.5.1",
+ "@thi.ng/rstream-dot": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"dataflow",
diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md
index 546dc7d5f8..f58a61dcdb 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.5.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.5.0...@thi.ng/rstream@2.5.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/rstream
+
+
+
+
+
# [2.5.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@2.4.4...@thi.ng/rstream@2.5.0) (2019-07-07)
diff --git a/packages/rstream/package.json b/packages/rstream/package.json
index 87ad9e7bb1..a1355ec65a 100644
--- a/packages/rstream/package.json
+++ b/packages/rstream/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream",
- "version": "2.5.0",
+ "version": "2.5.1",
"description": "Reactive multi-tap streams, dataflow & transformation pipeline constructs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib from subs utils",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/associative": "^2.4.0",
- "@thi.ng/atom": "^3.0.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/paths": "^2.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/associative": "^2.4.1",
+ "@thi.ng/atom": "^3.0.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/paths": "^2.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"datastructure",
diff --git a/packages/sax/CHANGELOG.md b/packages/sax/CHANGELOG.md
index 730da83ee0..bd0cce2a1f 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.1.0...@thi.ng/sax@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/sax
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.0.19...@thi.ng/sax@1.1.0) (2019-07-07)
diff --git a/packages/sax/package.json b/packages/sax/package.json
index 192c872923..4b2065f239 100644
--- a/packages/sax/package.json
+++ b/packages/sax/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/sax",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Transducer-based, SAX-like, non-validating, speedy & tiny XML parser",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib internal",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/transducers-fsm": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/transducers-fsm": "^1.1.1"
},
"keywords": [
"ES6",
diff --git a/packages/shader-ast-glsl/CHANGELOG.md b/packages/shader-ast-glsl/CHANGELOG.md
index 1de245579d..fa42510746 100644
--- a/packages/shader-ast-glsl/CHANGELOG.md
+++ b/packages/shader-ast-glsl/CHANGELOG.md
@@ -3,6 +3,22 @@
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/shader-ast-glsl@0.1.1...@thi.ng/shader-ast-glsl@0.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-glsl
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-glsl@0.1.0...@thi.ng/shader-ast-glsl@0.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-glsl
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/shader-ast-glsl/package.json b/packages/shader-ast-glsl/package.json
index 35662840ce..90d5c85a02 100644
--- a/packages/shader-ast-glsl/package.json
+++ b/packages/shader-ast-glsl/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/shader-ast-glsl",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "Customizable GLSL code generator for @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib codegen std",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/shader-ast": "^0.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/shader-ast": "^0.2.0"
},
"keywords": [
"AST",
diff --git a/packages/shader-ast-js/CHANGELOG.md b/packages/shader-ast-js/CHANGELOG.md
index 831175bcdb..bd86a5491e 100644
--- a/packages/shader-ast-js/CHANGELOG.md
+++ b/packages/shader-ast-js/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-js@0.1.1...@thi.ng/shader-ast-js@0.2.0) (2019-07-12)
+
+
+### Features
+
+* **shader-ast-js:** add uvec/bvec support, add bool => float casting ([90bb850](https://github.com/thi-ng/umbrella/commit/90bb850))
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-js@0.1.0...@thi.ng/shader-ast-js@0.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-js
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/shader-ast-js/README.md b/packages/shader-ast-js/README.md
index 319f01d8e5..3b658375db 100644
--- a/packages/shader-ast-js/README.md
+++ b/packages/shader-ast-js/README.md
@@ -84,7 +84,7 @@ import { targetJS } from "@thi.ng/shader-ast-js";
const js = targetJS();
-const hello = defn("vec4", "hello", [["float"]], (n) => [
+const hello = defn("vec4", "hello", ["float"], (n) => [
ret(vec4(mul(vec3(1, 2, 3), n), -1))
]);
diff --git a/packages/shader-ast-js/package.json b/packages/shader-ast-js/package.json
index 20e889dd51..35a3c2f9f3 100644
--- a/packages/shader-ast-js/package.json
+++ b/packages/shader-ast-js/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/shader-ast-js",
- "version": "0.1.0",
+ "version": "0.2.0",
"description": "Customizable JS code generator, compiler & runtime for @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib codegen std",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,13 +32,13 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/matrices": "^0.5.0",
- "@thi.ng/shader-ast": "^0.1.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/matrices": "^0.5.2",
+ "@thi.ng/shader-ast": "^0.2.0",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"AST",
diff --git a/packages/shader-ast-js/src/target.ts b/packages/shader-ast-js/src/target.ts
index 45cc23051c..d610d03b9e 100644
--- a/packages/shader-ast-js/src/target.ts
+++ b/packages/shader-ast-js/src/target.ts
@@ -1137,7 +1137,11 @@ export const targetJS = () => {
case "bool":
return isBoolean(v) ? String(v) : `!!(${emit(v)})`;
case "float":
- return isNumber(v) ? String(v) : emit(v);
+ return isNumber(v)
+ ? String(v)
+ : isBool(v)
+ ? `(${emit(v)} & 1)`
+ : emit(v);
case "int":
return isNumber(v) ? String(v) : `(${emit(v)} | 0)`;
case "uint":
@@ -1148,6 +1152,12 @@ export const targetJS = () => {
case "ivec2":
case "ivec3":
case "ivec4":
+ case "uvec2":
+ case "uvec3":
+ case "uvec4":
+ case "bvec2":
+ case "bvec3":
+ case "bvec4":
case "mat2":
case "mat3":
case "mat4":
diff --git a/packages/shader-ast-stdlib/CHANGELOG.md b/packages/shader-ast-stdlib/CHANGELOG.md
index 6ac0457092..0133356147 100644
--- a/packages/shader-ast-stdlib/CHANGELOG.md
+++ b/packages/shader-ast-stdlib/CHANGELOG.md
@@ -3,6 +3,25 @@
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/shader-ast-stdlib@0.1.1...@thi.ng/shader-ast-stdlib@0.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-stdlib
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-stdlib@0.1.0...@thi.ng/shader-ast-stdlib@0.1.1) (2019-07-08)
+
+
+### Bug Fixes
+
+* **shader-ast-stdlib:** update incomplete cartesian3, refactor cartesian2 ([3299d59](https://github.com/thi-ng/umbrella/commit/3299d59))
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/shader-ast-stdlib/README.md b/packages/shader-ast-stdlib/README.md
index b607c30f0b..e93d22bec4 100644
--- a/packages/shader-ast-stdlib/README.md
+++ b/packages/shader-ast-stdlib/README.md
@@ -250,7 +250,7 @@ import { additive, aspectCorrectedUV, fit1101, snoise2 } from "@thi.ng/shader-as
const mainImage = defn(
"vec4",
"mainImage",
- [["vec2"], ["vec2"], ["float"]],
+ ["vec2", "vec2", "float"],
(frag, res, time) => {
let uv;
let noise;
diff --git a/packages/shader-ast-stdlib/package.json b/packages/shader-ast-stdlib/package.json
index 07529f254e..1dd2fc6e04 100644
--- a/packages/shader-ast-stdlib/package.json
+++ b/packages/shader-ast-stdlib/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/shader-ast-stdlib",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "Useful functions for GPGPU / shader programming w/ @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib color fog lighting math matrix noise raymarch screen sdf tex",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,7 +32,7 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/shader-ast": "^0.1.0"
+ "@thi.ng/shader-ast": "^0.2.0"
},
"keywords": [
"AST",
diff --git a/packages/shader-ast-stdlib/src/color/linear-srgb.ts b/packages/shader-ast-stdlib/src/color/linear-srgb.ts
index b42b3f321a..2cd4056d70 100644
--- a/packages/shader-ast-stdlib/src/color/linear-srgb.ts
+++ b/packages/shader-ast-stdlib/src/color/linear-srgb.ts
@@ -19,6 +19,20 @@ const $ = (t: Term, x: FloatTerm): Term => {
vec4: vec4(x, x, x, 1)
}[t.type];
+/**
+ * Inline function. Converts sRGB color term (1D-4D) to linear space via
+ * `pow(rgb, GAMMA)`, where gamma is hardcoded to 2.2. For vec4 args,
+ * the `w` component (alpha) remains unchanged.
+ *
+ * @param x
+ */
export const toLinear = (x: Term) => pow(x, $(x, GAMMA));
+/**
+ * Inline function. Converts linear color term (1D-4D) to sRGB via
+ * `pow(rgb, 1.0 / GAMMA)`, where gamma is hardcoded to 2.2. For vec4
+ * args, the `w` component (alpha) remains unchanged.
+ *
+ * @param x
+ */
export const toSRGB = (x: Term) => pow(x, $(x, INV_GAMMA));
diff --git a/packages/shader-ast-stdlib/src/fog/exp.ts b/packages/shader-ast-stdlib/src/fog/exp.ts
index 1099fa26cf..c0f93f743e 100644
--- a/packages/shader-ast-stdlib/src/fog/exp.ts
+++ b/packages/shader-ast-stdlib/src/fog/exp.ts
@@ -10,12 +10,15 @@ import {
import { clamp01 } from "../math/clamp";
/**
+ * Computes exponential fog factor [0..1], based on given fully
+ * saturated fog distance and density.
+ *
* @param dist float
* @param density float
*/
export const fogExp = defn(
"float",
"fogExp",
- [["float"], ["float"]],
+ ["float", "float"],
(dist, density) => [ret(sub(FLOAT1, clamp01(exp(mul(neg(density), dist)))))]
);
diff --git a/packages/shader-ast-stdlib/src/fog/exp2.ts b/packages/shader-ast-stdlib/src/fog/exp2.ts
index 4f35f0d9f4..7ca8b31dac 100644
--- a/packages/shader-ast-stdlib/src/fog/exp2.ts
+++ b/packages/shader-ast-stdlib/src/fog/exp2.ts
@@ -10,13 +10,17 @@ import {
import { clamp01 } from "../math/clamp";
/**
+ * Similar to `fogExp()`. Computes exponential fog factor [0..1], based
+ * on given fully saturated fog distance and density. Uses `exp2()`
+ * internally.
+ *
* @param dist float
* @param density float
*/
export const fogExp2 = defn(
"float",
"fogExp2",
- [["float"], ["float"]],
+ ["float", "float"],
(dist, density) => [
assign(density, mul(density, dist)),
ret(sub(FLOAT1, clamp01(exp2(mul(mul(density, density), -Math.LOG2E)))))
diff --git a/packages/shader-ast-stdlib/src/fog/linear.ts b/packages/shader-ast-stdlib/src/fog/linear.ts
index c10da9f2b0..33a4e3b2a3 100644
--- a/packages/shader-ast-stdlib/src/fog/linear.ts
+++ b/packages/shader-ast-stdlib/src/fog/linear.ts
@@ -1,13 +1,11 @@
-import {
- defn,
- div,
- FLOAT1,
- ret,
- sub
-} from "@thi.ng/shader-ast";
+import { defn, ret } from "@thi.ng/shader-ast";
import { clamp01 } from "../math/clamp";
+import { fitNorm1 } from "../math/fit";
/**
+ * Computes linear fog factor [0..1], based on given fog min/max
+ * distances.
+ *
* @param dist float
* @param start float
* @param end float
@@ -16,8 +14,6 @@ import { clamp01 } from "../math/clamp";
export const fogLinear = defn(
"float",
"fogLinear",
- [["float"], ["float"], ["float"]],
- (dist, start, end) => [
- ret(sub(FLOAT1, clamp01(div(sub(end, dist), sub(end, start)))))
- ]
+ ["float", "float", "float"],
+ (dist, start, end) => [ret(clamp01(fitNorm1(dist, start, end)))]
);
diff --git a/packages/shader-ast-stdlib/src/light/trilight.ts b/packages/shader-ast-stdlib/src/light/trilight.ts
index 24fd3e1886..8c610d0b2a 100644
--- a/packages/shader-ast-stdlib/src/light/trilight.ts
+++ b/packages/shader-ast-stdlib/src/light/trilight.ts
@@ -28,7 +28,7 @@ import {
export const trilight = defn(
"vec3",
"trilight",
- [["vec3"], ["vec3"], ["vec3"], ["vec3"], ["vec3"]],
+ ["vec3", "vec3", "vec3", "vec3", "vec3"],
(n, l, c1, c2, c3) => {
let d: FloatSym;
return [
diff --git a/packages/shader-ast-stdlib/src/math/additive.ts b/packages/shader-ast-stdlib/src/math/additive.ts
index 21ef762686..d3bf7b345c 100644
--- a/packages/shader-ast-stdlib/src/math/additive.ts
+++ b/packages/shader-ast-stdlib/src/math/additive.ts
@@ -43,7 +43,7 @@ export const additive = (
oct = 4,
name = "additive"
) =>
- defn("float", name, [[type], [type], ["float"]], (pos, shift, decay) => {
+ defn("float", name, [[type], [type], "float"], (pos, shift, decay) => {
let n: FloatSym;
let amp: FloatSym;
return [
diff --git a/packages/shader-ast-stdlib/src/math/cartesian.ts b/packages/shader-ast-stdlib/src/math/cartesian.ts
index 6f7a6ad8db..fc6170b784 100644
--- a/packages/shader-ast-stdlib/src/math/cartesian.ts
+++ b/packages/shader-ast-stdlib/src/math/cartesian.ts
@@ -7,7 +7,6 @@ import {
mul,
ret,
sym,
- vec2,
Vec2Sym,
Vec2Term,
vec3
@@ -15,20 +14,21 @@ import {
import { cossin } from "./sincos";
/**
- * Converts 2D polar vector `v` to cartesian coordinates. See `polar2()`
- * for reverse operation.
+ * Converts 2D polar vector `v`, i.e. `[r,θ]` (angle in radians) to
+ * cartesian coordinates. See `polar2()` for reverse operation.
*
* @param v
*/
-export const cartesian2 = (v: Vec2Term) => mul(cossin($y(v)), vec2($x(v)));
+export const cartesian2 = (v: Vec2Term) => mul(cossin($y(v)), $x(v));
/**
- * Converts 3D polar vector `v` to cartesian coordinates. See `polar3()`
- * for reverse operation.
+ * Converts 3D polar/spherical vector `v`, i.e. `[r,θ,ϕ]` (angles in
+ * radians) to cartesian coordinates. See `polar3()` for reverse
+ * operation.
*
* @param v
*/
-export const cartesian3 = defn("vec3", "cartesian3", [["vec3"]], (v) => {
+export const cartesian3 = defn("vec3", "cartesian3", ["vec3"], (v) => {
let r: FloatSym;
let t: Vec2Sym;
let p: Vec2Sym;
@@ -36,6 +36,12 @@ export const cartesian3 = defn("vec3", "cartesian3", [["vec3"]], (v) => {
(r = sym($x(v))),
(t = sym(cossin($y(v)))),
(p = sym(cossin($z(v)))),
- ret(vec3(mul(mul(r, $x(t)), $x(p))))
+ ret(
+ vec3(
+ mul(mul(r, $x(t)), $x(p)),
+ mul(mul(r, $x(t)), $y(p)),
+ mul(r, $y(t))
+ )
+ )
];
});
diff --git a/packages/shader-ast-stdlib/src/math/fit.ts b/packages/shader-ast-stdlib/src/math/fit.ts
index 74d875cf61..97599eec53 100644
--- a/packages/shader-ast-stdlib/src/math/fit.ts
+++ b/packages/shader-ast-stdlib/src/math/fit.ts
@@ -1,16 +1,37 @@
import {
add,
+ defn,
+ div,
+ FLOAT0,
FLOAT05,
FLOAT1,
FLOAT2,
mix,
mul,
+ neq,
Op2,
Prim,
+ ret,
sub,
- Term
+ Term,
+ ternary
} from "@thi.ng/shader-ast";
+/**
+ * Returns normalized value of `x` WRT to interval [a,b]. Returns 0, if
+ * `a` equals `b`.
+ *
+ * @param x
+ * @param a
+ * @param b
+ */
+export const fitNorm1 = defn(
+ "float",
+ "fitNorm1",
+ ["float", "float", "float"],
+ (x, a, b) => [ret(ternary(neq(a, b), div(sub(x, a), sub(b, a)), FLOAT0))]
+);
+
/**
* Inline function. Fits value `a` in [0..1] interval to new interval
* [b..c]. No clamping performed. Same as `mix(b, c, a)`
diff --git a/packages/shader-ast-stdlib/src/math/magsq.ts b/packages/shader-ast-stdlib/src/math/magsq.ts
index a99dffc7f8..05d6ce8fbe 100644
--- a/packages/shader-ast-stdlib/src/math/magsq.ts
+++ b/packages/shader-ast-stdlib/src/math/magsq.ts
@@ -1,13 +1,13 @@
import { defn, dot, ret } from "@thi.ng/shader-ast";
-export const magSq2 = defn("float", "magSq2", [["vec2"]], (v) => [
+export const magSq2 = defn("float", "magSq2", ["vec2"], (v) => [
ret(dot(v, v))
]);
-export const magSq3 = defn("float", "magSq3", [["vec3"]], (v) => [
+export const magSq3 = defn("float", "magSq3", ["vec3"], (v) => [
ret(dot(v, v))
]);
-export const magSq4 = defn("float", "magSq4", [["vec4"]], (v) => [
+export const magSq4 = defn("float", "magSq4", ["vec4"], (v) => [
ret(dot(v, v))
]);
diff --git a/packages/shader-ast-stdlib/src/math/orthogonal.ts b/packages/shader-ast-stdlib/src/math/orthogonal.ts
index 3aeec9fb74..78b82c9c7a 100644
--- a/packages/shader-ast-stdlib/src/math/orthogonal.ts
+++ b/packages/shader-ast-stdlib/src/math/orthogonal.ts
@@ -34,7 +34,7 @@ export const perpendicularCW = (v: Vec2Term) => vec2($y(v), neg($x(v)));
*
* http://lolengine.net/blog/2013/09/21/picking-orthogonal-vector-combing-coconuts
*/
-export const orthogonal3 = defn("vec3", "orthogonal3", [["vec3"]], (v) => [
+export const orthogonal3 = defn("vec3", "orthogonal3", ["vec3"], (v) => [
ret(
ternary(
gt(abs($x(v)), abs($z(v))),
diff --git a/packages/shader-ast-stdlib/src/math/polar.ts b/packages/shader-ast-stdlib/src/math/polar.ts
index fae7cf6b97..00ea0ee74f 100644
--- a/packages/shader-ast-stdlib/src/math/polar.ts
+++ b/packages/shader-ast-stdlib/src/math/polar.ts
@@ -20,7 +20,7 @@ import {
*
* @param v
*/
-export const polar2 = defn("vec2", "polar2", [["vec2"]], (v) => [
+export const polar2 = defn("vec2", "polar2", ["vec2"], (v) => [
ret(vec2(length(v), atan(div($y(v), $x(v)))))
]);
@@ -31,7 +31,7 @@ export const polar2 = defn("vec2", "polar2", [["vec2"]], (v) => [
*
* @param v
*/
-export const polar3 = defn("vec3", "polar3", [["vec3"]], (v) => {
+export const polar3 = defn("vec3", "polar3", ["vec3"], (v) => {
let r: FloatSym;
return [
(r = sym(length(v))),
diff --git a/packages/shader-ast-stdlib/src/matrix/lookat.ts b/packages/shader-ast-stdlib/src/matrix/lookat.ts
index 17eaa787a8..330a2fe5a2 100644
--- a/packages/shader-ast-stdlib/src/matrix/lookat.ts
+++ b/packages/shader-ast-stdlib/src/matrix/lookat.ts
@@ -23,7 +23,7 @@ import {
export const lookat = defn(
"mat4",
"lookat",
- [["vec3"], ["vec3"], ["vec3"]],
+ ["vec3", "vec3", "vec3"],
(eye, target, up) => {
let x: Vec3Sym;
let y: Vec3Sym;
diff --git a/packages/shader-ast-stdlib/src/matrix/rotation.ts b/packages/shader-ast-stdlib/src/matrix/rotation.ts
index b0e1d232b5..e83f5e6138 100644
--- a/packages/shader-ast-stdlib/src/matrix/rotation.ts
+++ b/packages/shader-ast-stdlib/src/matrix/rotation.ts
@@ -13,12 +13,12 @@ import {
import { perpendicularCCW } from "../math/orthogonal";
import { cossin } from "../math/sincos";
-export const rotation2 = defn("mat2", "rotation2", [["float"]], (theta) => {
+export const rotation2 = defn("mat2", "rotation2", ["float"], (theta) => {
let cs: Vec2Term;
return [(cs = sym(cossin(theta))), ret(mat2(cs, perpendicularCCW(cs)))];
});
-export const rotationX3 = defn("mat3", "rotationX3", [["float"]], (theta) => {
+export const rotationX3 = defn("mat3", "rotationX3", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
@@ -26,7 +26,7 @@ export const rotationX3 = defn("mat3", "rotationX3", [["float"]], (theta) => {
];
});
-export const rotationY3 = defn("mat3", "rotationY3", [["float"]], (theta) => {
+export const rotationY3 = defn("mat3", "rotationY3", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
@@ -34,7 +34,7 @@ export const rotationY3 = defn("mat3", "rotationY3", [["float"]], (theta) => {
];
});
-export const rotationZ3 = defn("mat3", "rotationZ3", [["float"]], (theta) => {
+export const rotationZ3 = defn("mat3", "rotationZ3", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
@@ -42,7 +42,7 @@ export const rotationZ3 = defn("mat3", "rotationZ3", [["float"]], (theta) => {
];
});
-export const rotationX4 = defn("mat4", "rotationX4", [["float"]], (theta) => {
+export const rotationX4 = defn("mat4", "rotationX4", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
@@ -69,7 +69,7 @@ export const rotationX4 = defn("mat4", "rotationX4", [["float"]], (theta) => {
];
});
-export const rotationY4 = defn("mat4", "rotationY4", [["float"]], (theta) => {
+export const rotationY4 = defn("mat4", "rotationY4", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
@@ -96,7 +96,7 @@ export const rotationY4 = defn("mat4", "rotationY4", [["float"]], (theta) => {
];
});
-export const rotationZ4 = defn("mat4", "rotationZ4", [["float"]], (theta) => {
+export const rotationZ4 = defn("mat4", "rotationZ4", ["float"], (theta) => {
let cs: Vec2Term;
return [
(cs = sym(cossin(theta))),
diff --git a/packages/shader-ast-stdlib/src/noise/hash.ts b/packages/shader-ast-stdlib/src/noise/hash.ts
index 41e4b2c82f..3d55d45524 100644
--- a/packages/shader-ast-stdlib/src/noise/hash.ts
+++ b/packages/shader-ast-stdlib/src/noise/hash.ts
@@ -26,7 +26,7 @@ import {
*
* @param p
*/
-export const hash2 = defn("vec2", "hash2", [["vec2"]], (p) => [
+export const hash2 = defn("vec2", "hash2", ["vec2"], (p) => [
ret(fract(mul(sin(mul(p, mat2(127.1, 311.7, 269.5, 183.3))), 43758.5453)))
]);
@@ -35,7 +35,7 @@ export const hash2 = defn("vec2", "hash2", [["vec2"]], (p) => [
*
* @param p
*/
-export const hash3 = defn("vec3", "hash3", [["vec2"]], (p) => [
+export const hash3 = defn("vec3", "hash3", ["vec2"], (p) => [
ret(
fract(
mul(
@@ -62,7 +62,7 @@ const H4 = vec4(0.1031, 0.103, 0.0973, 0.1099);
*
* @param p
*/
-export const hash11 = defn("float", "hash11", [["float"]], (p) => {
+export const hash11 = defn("float", "hash11", ["float"], (p) => {
let x: FloatSym;
return [
(x = sym(fract(mul(p, 0.1031)))),
@@ -79,7 +79,7 @@ export const hash11 = defn("float", "hash11", [["float"]], (p) => {
*
* @param p
*/
-export const hash12 = defn("float", "hash12", [["vec2"]], (p) => {
+export const hash12 = defn("float", "hash12", ["vec2"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul($(p, "xyx"), 0.1031)))),
@@ -95,7 +95,7 @@ export const hash12 = defn("float", "hash12", [["vec2"]], (p) => {
*
* @param p
*/
-export const hash13 = defn("float", "hash13", [["vec3"]], (p) => {
+export const hash13 = defn("float", "hash13", ["vec3"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul($(p, "xyx"), 0.1031)))),
@@ -111,7 +111,7 @@ export const hash13 = defn("float", "hash13", [["vec3"]], (p) => {
*
* @param p
*/
-export const hash21 = defn("vec2", "hash21", [["float"]], (p) => {
+export const hash21 = defn("vec2", "hash21", ["float"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul(vec3(p), H)))),
@@ -127,7 +127,7 @@ export const hash21 = defn("vec2", "hash21", [["float"]], (p) => {
*
* @param p
*/
-export const hash22 = defn("vec2", "hash22", [["vec2"]], (p) => {
+export const hash22 = defn("vec2", "hash22", ["vec2"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul($(p, "xyx"), H)))),
@@ -143,7 +143,7 @@ export const hash22 = defn("vec2", "hash22", [["vec2"]], (p) => {
*
* @param p
*/
-export const hash23 = defn("vec2", "hash23", [["vec3"]], (p) => {
+export const hash23 = defn("vec2", "hash23", ["vec3"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul(p, H)))),
@@ -159,7 +159,7 @@ export const hash23 = defn("vec2", "hash23", [["vec3"]], (p) => {
*
* @param p
*/
-export const hash31 = defn("vec3", "hash31", [["float"]], (p) => {
+export const hash31 = defn("vec3", "hash31", ["float"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul(p, H)))),
@@ -175,7 +175,7 @@ export const hash31 = defn("vec3", "hash31", [["float"]], (p) => {
*
* @param p
*/
-export const hash32 = defn("vec3", "hash32", [["vec2"]], (p) => {
+export const hash32 = defn("vec3", "hash32", ["vec2"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul($(p, "xyx"), H)))),
@@ -191,7 +191,7 @@ export const hash32 = defn("vec3", "hash32", [["vec2"]], (p) => {
*
* @param p
*/
-export const hash33 = defn("vec3", "hash33", [["vec3"]], (p) => {
+export const hash33 = defn("vec3", "hash33", ["vec3"], (p) => {
let x: Vec3Sym;
return [
(x = sym(fract(mul(p, H)))),
@@ -207,7 +207,7 @@ export const hash33 = defn("vec3", "hash33", [["vec3"]], (p) => {
*
* @param p
*/
-export const hash41 = defn("vec4", "hash41", [["float"]], (p) => {
+export const hash41 = defn("vec4", "hash41", ["float"], (p) => {
let x: Vec4Sym;
return [
(x = sym(fract(mul(p, H4)))),
@@ -223,7 +223,7 @@ export const hash41 = defn("vec4", "hash41", [["float"]], (p) => {
*
* @param p
*/
-export const hash42 = defn("vec4", "hash42", [["vec2"]], (p) => {
+export const hash42 = defn("vec4", "hash42", ["vec2"], (p) => {
let x: Vec4Sym;
return [
(x = sym(fract(mul($(p, "xyxy"), H4)))),
@@ -239,7 +239,7 @@ export const hash42 = defn("vec4", "hash42", [["vec2"]], (p) => {
*
* @param p
*/
-export const hash43 = defn("vec4", "hash43", [["vec3"]], (p) => {
+export const hash43 = defn("vec4", "hash43", ["vec3"], (p) => {
let x: Vec4Sym;
return [
(x = sym(fract(mul($(p, "xyzx"), H4)))),
@@ -255,7 +255,7 @@ export const hash43 = defn("vec4", "hash43", [["vec3"]], (p) => {
*
* @param p
*/
-export const hash44 = defn("vec4", "hash44", [["vec4"]], (p) => {
+export const hash44 = defn("vec4", "hash44", ["vec4"], (p) => {
let x: Vec4Sym;
return [
(x = sym(fract(mul(p, H4)))),
diff --git a/packages/shader-ast-stdlib/src/noise/permute.ts b/packages/shader-ast-stdlib/src/noise/permute.ts
index d6a2d44905..11c426d164 100644
--- a/packages/shader-ast-stdlib/src/noise/permute.ts
+++ b/packages/shader-ast-stdlib/src/noise/permute.ts
@@ -8,18 +8,18 @@ import {
ret
} from "@thi.ng/shader-ast";
-export const permute = defn("float", "permute", [["float"]], (v) => [
+export const permute = defn("float", "permute", ["float"], (v) => [
ret(mod(mul(v, add(mul(v, float(34)), FLOAT1)), float(289)))
]);
-export const permute2 = defn("vec2", "permute2", [["vec2"]], (v) => [
+export const permute2 = defn("vec2", "permute2", ["vec2"], (v) => [
ret(mod(mul(v, add(mul(v, float(34)), FLOAT1)), float(289)))
]);
-export const permute3 = defn("vec3", "permute3", [["vec3"]], (v) => [
+export const permute3 = defn("vec3", "permute3", ["vec3"], (v) => [
ret(mod(mul(v, add(mul(v, float(34)), FLOAT1)), float(289)))
]);
-export const permute4 = defn("vec4", "permute4", [["vec4"]], (v) => [
+export const permute4 = defn("vec4", "permute4", ["vec4"], (v) => [
ret(mod(mul(v, add(mul(v, float(34)), FLOAT1)), float(289)))
]);
diff --git a/packages/shader-ast-stdlib/src/noise/simplex2.ts b/packages/shader-ast-stdlib/src/noise/simplex2.ts
index 5e127c08c7..5a9e1873b1 100644
--- a/packages/shader-ast-stdlib/src/noise/simplex2.ts
+++ b/packages/shader-ast-stdlib/src/noise/simplex2.ts
@@ -37,7 +37,7 @@ import { permute3 } from "./permute";
*
* https://github.com/ashima/webgl-noise
*/
-export const snoise2 = defn("float", "snoise2", [["vec2"]], (v) => {
+export const snoise2 = defn("float", "snoise2", ["vec2"], (v) => {
let C: Vec4Sym;
let i: Vec2Sym;
let i1: Vec2Sym;
diff --git a/packages/shader-ast-stdlib/src/noise/voronoi2.ts b/packages/shader-ast-stdlib/src/noise/voronoi2.ts
index 047212cc38..d51162fa07 100644
--- a/packages/shader-ast-stdlib/src/noise/voronoi2.ts
+++ b/packages/shader-ast-stdlib/src/noise/voronoi2.ts
@@ -52,7 +52,7 @@ import { hash32 } from "./hash";
export const voronoise2 = defn(
"float",
"voronoise2",
- [["vec2"], ["float"], ["float"]],
+ ["vec2", "float", "float"],
(x, u, v) => {
let p: Vec2Sym;
let f: Vec2Sym;
diff --git a/packages/shader-ast-stdlib/src/noise/worley2.ts b/packages/shader-ast-stdlib/src/noise/worley2.ts
index b075fa6505..ebab23b0a6 100644
--- a/packages/shader-ast-stdlib/src/noise/worley2.ts
+++ b/packages/shader-ast-stdlib/src/noise/worley2.ts
@@ -31,14 +31,14 @@ import { permute3 } from "./permute";
export const worleyDist = defn(
"vec3",
"worleyDist",
- [["vec3"], ["vec3"]],
+ ["vec3", "vec3"],
(a, b) => [ret(add(mul(a, a), mul(b, b)))]
);
export const worleyDistManhattan = defn(
"vec3",
"worleyDistManhatten",
- [["vec3"], ["vec3"]],
+ ["vec3", "vec3"],
(a, b) => [ret(add(abs(a), abs(b)))]
);
@@ -56,7 +56,7 @@ export const worleyDistManhattan = defn(
* @param distFn
*/
export const worley2 = (distFn: Func2<"vec3", "vec3", "vec3">) =>
- defn("vec2", "worley2", [["vec2"], ["float"]], (P, jitter) => {
+ defn("vec2", "worley2", ["vec2", "float"], (P, jitter) => {
const K = float(1 / 7);
const Ko = float(3 / 7);
const oI = sym(vec3(-1, 0, 1));
diff --git a/packages/shader-ast-stdlib/src/raymarch/ao.ts b/packages/shader-ast-stdlib/src/raymarch/ao.ts
index 230dab4c41..0d7749dc7f 100644
--- a/packages/shader-ast-stdlib/src/raymarch/ao.ts
+++ b/packages/shader-ast-stdlib/src/raymarch/ao.ts
@@ -29,7 +29,7 @@ import { clamp01 } from "../math/clamp";
* @param numSamples
*/
export const raymarchAO = (scene: RaymarchScene, numSamples = 5) =>
- defn("float", "raymarchAO", [["vec3"], ["vec3"]], (p, n) => {
+ defn("float", "raymarchAO", ["vec3", "vec3"], (p, n) => {
let r: FloatSym;
let w: FloatSym;
let d0: FloatSym;
diff --git a/packages/shader-ast-stdlib/src/raymarch/direction.ts b/packages/shader-ast-stdlib/src/raymarch/direction.ts
index 612bd93afd..d6f1a4a120 100644
--- a/packages/shader-ast-stdlib/src/raymarch/direction.ts
+++ b/packages/shader-ast-stdlib/src/raymarch/direction.ts
@@ -22,7 +22,7 @@ import {
export const raymarchDir = defn(
"vec3",
"raymarchDir",
- [["vec2"], ["vec2"], ["float"]],
+ ["vec2", "vec2", "float"],
(frag, res, fov) => {
let uv: Vec2Sym;
return [
diff --git a/packages/shader-ast-stdlib/src/raymarch/normal.ts b/packages/shader-ast-stdlib/src/raymarch/normal.ts
index c727df7a77..78967fa938 100644
--- a/packages/shader-ast-stdlib/src/raymarch/normal.ts
+++ b/packages/shader-ast-stdlib/src/raymarch/normal.ts
@@ -24,7 +24,7 @@ import { RaymarchScene } from "../api";
* @param name
*/
export const raymarchNormal = (scene: RaymarchScene, name = "raymarchNormal") =>
- defn("vec3", name, [["vec3"], ["float"]], (p, smooth) => {
+ defn("vec3", name, ["vec3", "float"], (p, smooth) => {
let dn: Vec2Sym;
const comp = (id: Swizzle2_3) =>
sub($x(scene(add(p, $(dn, id)))), $x(scene(sub(p, $(dn, id)))));
diff --git a/packages/shader-ast-stdlib/src/raymarch/scene.ts b/packages/shader-ast-stdlib/src/raymarch/scene.ts
index 74f064cb6e..8a0e099176 100644
--- a/packages/shader-ast-stdlib/src/raymarch/scene.ts
+++ b/packages/shader-ast-stdlib/src/raymarch/scene.ts
@@ -51,7 +51,7 @@ export const raymarchScene = (
bias: 0.7,
..._opts
};
- return defn("vec2", opts.name, [["vec3"], ["vec3"]], (pos, dir) => {
+ return defn("vec2", opts.name, ["vec3", "vec3"], (pos, dir) => {
let total: FloatSym;
let res: Vec2Sym;
return [
diff --git a/packages/shader-ast-stdlib/src/screen/uv.ts b/packages/shader-ast-stdlib/src/screen/uv.ts
index 0e33c13347..5b119ed8f0 100644
--- a/packages/shader-ast-stdlib/src/screen/uv.ts
+++ b/packages/shader-ast-stdlib/src/screen/uv.ts
@@ -22,7 +22,7 @@ import { fit0111 } from "../math/fit";
export const aspectCorrectedUV = defn(
"vec2",
"aspectCorrectedUV",
- [["vec2"], ["vec2"]],
+ ["vec2", "vec2"],
(pos, res) => {
let uv: Vec2Sym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/box.ts b/packages/shader-ast-stdlib/src/sdf/box.ts
index 30ca4cc4b3..80c453b799 100644
--- a/packages/shader-ast-stdlib/src/sdf/box.ts
+++ b/packages/shader-ast-stdlib/src/sdf/box.ts
@@ -25,7 +25,7 @@ import { maxComp2, maxComp3 } from "../math/maxcomp";
export const sdfBox2 = defn(
"float",
"sdRect",
- [["vec2"], ["vec2"]],
+ ["vec2", "vec2"],
(p, size) => {
let d: Vec2Sym;
return [
@@ -44,7 +44,7 @@ export const sdfBox2 = defn(
export const sdfBox3 = defn(
"float",
"sdAABB",
- [["vec3"], ["vec3"]],
+ ["vec3", "vec3"],
(p, size) => {
let d: Vec3Sym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/cylinder.ts b/packages/shader-ast-stdlib/src/sdf/cylinder.ts
index 423d1444b7..256bc58dac 100644
--- a/packages/shader-ast-stdlib/src/sdf/cylinder.ts
+++ b/packages/shader-ast-stdlib/src/sdf/cylinder.ts
@@ -27,7 +27,7 @@ import { maxComp2 } from "../math/maxcomp";
export const sdfCylinder = defn(
"float",
"sdCylinder",
- [["vec3"], ["float"], ["float"]],
+ ["vec3", "float", "float"],
(p, h, r) => {
let d: Vec2Sym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/line.ts b/packages/shader-ast-stdlib/src/sdf/line.ts
index 4c4ddd9b68..8d814e4ea4 100644
--- a/packages/shader-ast-stdlib/src/sdf/line.ts
+++ b/packages/shader-ast-stdlib/src/sdf/line.ts
@@ -37,7 +37,7 @@ const line = (p: Sym, a: Sym, b: Sym) => {
export const sdfLine2 = defn(
"float",
"sdLine2",
- [["vec2"], ["vec2"], ["vec2"]],
+ ["vec2", "vec2", "vec2"],
line
);
@@ -49,6 +49,6 @@ export const sdfLine2 = defn(
export const sdfLine3 = defn(
"float",
"sdLine3",
- [["vec3"], ["vec3"], ["vec3"]],
+ ["vec3", "vec3", "vec3"],
line
);
diff --git a/packages/shader-ast-stdlib/src/sdf/plane.ts b/packages/shader-ast-stdlib/src/sdf/plane.ts
index 5e6f69ded8..9dcfa8dfa4 100644
--- a/packages/shader-ast-stdlib/src/sdf/plane.ts
+++ b/packages/shader-ast-stdlib/src/sdf/plane.ts
@@ -15,7 +15,7 @@ import {
export const sdfPlane2 = defn(
"float",
"sdPlane",
- [["vec2"], ["vec2"], ["float"]],
+ ["vec2", "vec2", "float"],
(p, n, w) => [ret(add(dot(p, n), w))]
);
@@ -29,6 +29,6 @@ export const sdfPlane2 = defn(
export const sdfPlane3 = defn(
"float",
"sdPlane",
- [["vec3"], ["vec3"], ["float"]],
+ ["vec3", "vec3", "float"],
(p, n, w) => [ret(add(dot(p, n), w))]
);
diff --git a/packages/shader-ast-stdlib/src/sdf/repeat.ts b/packages/shader-ast-stdlib/src/sdf/repeat.ts
index 81b3adf4d6..7b41448209 100644
--- a/packages/shader-ast-stdlib/src/sdf/repeat.ts
+++ b/packages/shader-ast-stdlib/src/sdf/repeat.ts
@@ -16,7 +16,7 @@ import {
export const sdfRepeat2 = defn(
"vec2",
"sdTxRepeat3",
- [["vec2"], ["vec2"]],
+ ["vec2", "vec2"],
(p, c) => [ret(sub(mod(p, c), mul(c, FLOAT05)))]
);
@@ -29,6 +29,6 @@ export const sdfRepeat2 = defn(
export const sdfRepeat3 = defn(
"vec3",
"sdTxRepeat3",
- [["vec3"], ["vec3"]],
+ ["vec3", "vec3"],
(p, c) => [ret(sub(mod(p, c), mul(c, FLOAT05)))]
);
diff --git a/packages/shader-ast-stdlib/src/sdf/smooth-isec.ts b/packages/shader-ast-stdlib/src/sdf/smooth-isec.ts
index 2cf8ea3772..cae005e90a 100644
--- a/packages/shader-ast-stdlib/src/sdf/smooth-isec.ts
+++ b/packages/shader-ast-stdlib/src/sdf/smooth-isec.ts
@@ -20,7 +20,7 @@ import { fit1101 } from "../math/fit";
export const sdfSmoothIntersect = defn(
"float",
"sdOpSmoothIntersect",
- [["float"], ["float"], ["float"]],
+ ["float", "float", "float"],
(a, b, k) => {
let h: FloatSym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/smooth-sub.ts b/packages/shader-ast-stdlib/src/sdf/smooth-sub.ts
index 23417af025..a49b8588c9 100644
--- a/packages/shader-ast-stdlib/src/sdf/smooth-sub.ts
+++ b/packages/shader-ast-stdlib/src/sdf/smooth-sub.ts
@@ -21,7 +21,7 @@ import { fit1101 } from "../math/fit";
export const sdfSmoothSubtract = defn(
"float",
"sdOpSmoothSubtract",
- [["float"], ["float"], ["float"]],
+ ["float", "float", "float"],
(a, b, k) => {
let h: FloatSym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/smooth-union.ts b/packages/shader-ast-stdlib/src/sdf/smooth-union.ts
index 4d4def8423..6b3efeb699 100644
--- a/packages/shader-ast-stdlib/src/sdf/smooth-union.ts
+++ b/packages/shader-ast-stdlib/src/sdf/smooth-union.ts
@@ -19,7 +19,7 @@ import { fit1101 } from "../math/fit";
export const sdfSmoothUnion = defn(
"float",
"sdOpSmoothUnion",
- [["float"], ["float"], ["float"]],
+ ["float", "float", "float"],
(a, b, k) => {
let h: FloatSym;
return [
diff --git a/packages/shader-ast-stdlib/src/sdf/sphere.ts b/packages/shader-ast-stdlib/src/sdf/sphere.ts
index 480728b8ba..0fafd8b157 100644
--- a/packages/shader-ast-stdlib/src/sdf/sphere.ts
+++ b/packages/shader-ast-stdlib/src/sdf/sphere.ts
@@ -14,7 +14,7 @@ import {
export const sdfCircle = defn(
"float",
"sdCircle",
- [["vec2"], ["float"]],
+ ["vec2", "float"],
(p, r) => [ret(sub(length(p), r))]
);
@@ -27,6 +27,6 @@ export const sdfCircle = defn(
export const sdfSphere = defn(
"float",
"sdSphere",
- [["vec3"], ["float"]],
+ ["vec3", "float"],
(p, r) => [ret(sub(length(p), r))]
);
diff --git a/packages/shader-ast-stdlib/src/sdf/torus.ts b/packages/shader-ast-stdlib/src/sdf/torus.ts
index 6324a3e805..b0fa7ed16b 100644
--- a/packages/shader-ast-stdlib/src/sdf/torus.ts
+++ b/packages/shader-ast-stdlib/src/sdf/torus.ts
@@ -19,7 +19,7 @@ import {
export const sdfTorus = defn(
"float",
"sdTorus",
- [["vec3"], ["float"], ["float"]],
+ ["vec3", "float", "float"],
(p, r1, r2) => [
ret(sub(length(vec2(sub(length($(p, "xz")), r2), $y(p))), r1))
]
diff --git a/packages/shader-ast-stdlib/src/sdf/tri.ts b/packages/shader-ast-stdlib/src/sdf/tri.ts
index 2bab477cb8..069a3ee78b 100644
--- a/packages/shader-ast-stdlib/src/sdf/tri.ts
+++ b/packages/shader-ast-stdlib/src/sdf/tri.ts
@@ -28,7 +28,7 @@ import { cross2 } from "../math/cross2";
export const sdfTriangle2 = defn(
"float",
"sdTriangle",
- [["vec2"], ["vec2"], ["vec2"], ["vec2"]],
+ ["vec2", "vec2", "vec2", "vec2"],
(p, a, b, c) => {
let e0: Vec2Sym, e1: Vec2Sym, e2: Vec2Sym;
let v0: Vec2Sym, v1: Vec2Sym, v2: Vec2Sym;
diff --git a/packages/shader-ast-stdlib/src/tex/index-uv.ts b/packages/shader-ast-stdlib/src/tex/index-uv.ts
index f99a390db2..14d602d2be 100644
--- a/packages/shader-ast-stdlib/src/tex/index-uv.ts
+++ b/packages/shader-ast-stdlib/src/tex/index-uv.ts
@@ -43,7 +43,7 @@ export const indexToUV = defn(
export const uvToIndex = defn(
"int",
"uvToIndex",
- [["vec2"], ["int", "width", { prec: "highp" }]],
+ ["vec2", ["int", "width", { prec: "highp" }]],
(uv, width) => [
ret(
add(
diff --git a/packages/shader-ast/CHANGELOG.md b/packages/shader-ast/CHANGELOG.md
index 03a80630ef..b54b27e2d9 100644
--- a/packages/shader-ast/CHANGELOG.md
+++ b/packages/shader-ast/CHANGELOG.md
@@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast@0.1.1...@thi.ng/shader-ast@0.2.0) (2019-07-12)
+
+
+### Bug Fixes
+
+* **shader-ast:** builtin `not` (bvec) used wrong internal fn name ([237c6f3](https://github.com/thi-ng/umbrella/commit/237c6f3))
+
+
+### Features
+
+* **shader-ast:** support number casts from bools ([119f257](https://github.com/thi-ng/umbrella/commit/119f257))
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast@0.1.0...@thi.ng/shader-ast@0.1.1) (2019-07-08)
+
+
+### Bug Fixes
+
+* **shader-ast:** fix [#98](https://github.com/thi-ng/umbrella/issues/98), update defn() arg lists, add/update docs ([bcfbcfd](https://github.com/thi-ng/umbrella/commit/bcfbcfd))
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/shader-ast/README.md b/packages/shader-ast/README.md
index 1fa3aa6c8c..978f7fe063 100644
--- a/packages/shader-ast/README.md
+++ b/packages/shader-ast/README.md
@@ -337,7 +337,7 @@ other TS/JS function and will return a function call AST node with the
supplied args.
```ts
-// example from @thi.ng/shader-ast-stdlib
+// example based on @thi.ng/shader-ast-stdlib
/**
* Computes Lambert term, optionally using Half-Lambertian,
@@ -355,7 +355,7 @@ const lambert = defn(
// function name
"lambert",
// args (incl. optional name and other opts)
- [["vec3"], ["vec3"], ["bool"]],
+ ["vec3", "vec3", "bool"],
// function body
(n, ldir, bidir) => {
// pre-declare local var
@@ -386,6 +386,25 @@ correct order.
Since `defn` returns a standard TS/JS function, all arguments will be
automatically type checked at call sites (in TypeScript only).
+#### Function arguments
+
+Function argument lists are given as arrays, with each item either:
+
+1. an AST type string, e.g. `"float"`
+2. a tuple of `[type, name?, opts?]`, e.g. `["vec2", "bar", { q: "out" }]`
+
+If no name is specified, an auto-generated one will be used. Generally,
+this is preferable, since these names are only used for code generation
+purposes and in most cases only need to be machine readable...
+
+The body function (last arg given to `defn`), is called with
+instantiated, typed symbols representing each arg and can use any name
+within that function (also as shown in the above example).
+
+See `SymOpts` interface in
+[api.ts](https://github.com/thi-ng/umbrella/tree/master/packages/shader-ast/src/api.ts)
+for more details about the options object...
+
#### Inline functions
If no function local variables are required and/or inlining is desired,
@@ -402,9 +421,36 @@ then inserted at the call site:
* @param k
*/
const sinc = (x: FloatTerm, k: FloatTerm) =>
- div(sin(mul(k,x)), mul(k, x));
+ div(sin(mul(x,k)), mul(x, k));
```
+**Performance tip for INLINE functions only:** Since the `FloatTerm`
+type (or similarly any other `XXXTerm` type) refers to any expression
+evaluating to a `"float"`, in some cases (like this `sinc()` example) it
+might be better to only accept `FloatSym` arguments, since this ensures
+the arg expressions are not causing duplicate evaluation. For example:
+
+```ts
+sinc(length(mul(vec3(1,2,3), 100)), float(10));
+```
+
+...will be expanded to:
+
+```ts
+div(
+ sin(mul(length(mul(vec3(1,2,3), 100)),k)),
+ mul(length(mul(vec3(1,2,3), 100)), k)
+);
+```
+
+...which is not desirable.
+
+If, however, the inline function asks for `FloatSym` args, the caller is
+forced to supply variables and so is also responsible to pre-define
+them... Alternatively, the function could be re-defined via `defn` to
+avoid such issues altogether (but then causes an additional function
+call at runtime - nothing comes for free!).
+
### Global scope
#### Input / output variables / declarations
diff --git a/packages/shader-ast/package.json b/packages/shader-ast/package.json
index 72b0242f73..7c3c0f31d7 100644
--- a/packages/shader-ast/package.json
+++ b/packages/shader-ast/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/shader-ast",
- "version": "0.1.0",
+ "version": "0.2.0",
"description": "DSL to define shader code in TypeScript and cross-compile to GLSL, JS and other targets",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib std",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,11 +32,11 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/defmulti": "^1.1.0",
- "@thi.ng/dgraph": "^1.1.10",
- "@thi.ng/errors": "^1.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/defmulti": "^1.1.1",
+ "@thi.ng/dgraph": "^1.1.11",
+ "@thi.ng/errors": "^1.1.1"
},
"keywords": [
"AST",
diff --git a/packages/shader-ast/src/api.ts b/packages/shader-ast/src/api.ts
index e1961fa4ed..a6e5a13e25 100644
--- a/packages/shader-ast/src/api.ts
+++ b/packages/shader-ast/src/api.ts
@@ -238,7 +238,7 @@ export type Numeric = number | FloatTerm | IntTerm | UintTerm;
export type NumericF = number | FloatTerm;
export type NumericI = number | IntTerm;
export type NumericU = number | UintTerm;
-export type NumericB = boolean | Numeric;
+export type NumericB = boolean | Numeric | BoolTerm;
export type Assignable = Sym | Swizzle | Index;
@@ -282,7 +282,7 @@ export type Swizzle2 = Swizzle2_1 | Swizzle2_2 | Swizzle2_3 | Swizzle2_4;
export type Swizzle3 = Swizzle3_1 | Swizzle3_2 | Swizzle3_3 | Swizzle3_4;
export type Swizzle4 = Swizzle4_1 | Swizzle4_2 | Swizzle4_3 | Swizzle4_4;
-export type Arg = [A, string?, SymOpts?];
+export type Arg = A | [A, string?, SymOpts?];
export type Arg1 = [Arg];
export type Arg2 = [Arg, Arg];
export type Arg3 = [
diff --git a/packages/shader-ast/src/ast.ts b/packages/shader-ast/src/ast.ts
index f16e7d39d8..24a52086f7 100644
--- a/packages/shader-ast/src/ast.ts
+++ b/packages/shader-ast/src/ast.ts
@@ -66,7 +66,6 @@ import {
Mat3Term,
Mat4Term,
MatIndexTypeMap,
- Numeric,
NumericB,
NumericF,
NumericI,
@@ -334,17 +333,16 @@ export const lit = (
val
});
-export const bool = (x: Numeric | boolean) =>
- lit("bool", isNumber(x) ? !!x : x);
+export const bool = (x: NumericB) => lit("bool", isNumber(x) ? !!x : x);
-export const float = (x: Numeric | boolean) =>
- lit("float", isBoolean(x) ? (x ? 1 : 0) : x);
+export const float = (x: NumericB) =>
+ lit("float", isBoolean(x) ? (x) & 1 : x);
-export const int = (x: Numeric | boolean) =>
- lit("int", isBoolean(x) ? (x ? 1 : 0) : isNumber(x) ? x | 0 : x);
+export const int = (x: NumericB) =>
+ lit("int", isBoolean(x) ? (x) & 1 : isNumber(x) ? x | 0 : x);
-export const uint = (x: Numeric | boolean) =>
- lit("uint", isBoolean(x) ? (x ? 1 : 0) : isNumber(x) ? x >>> 0 : x);
+export const uint = (x: NumericB) =>
+ lit("uint", isBoolean(x) ? (x) & 1 : isNumber(x) ? x >>> 0 : x);
export const TRUE = lit("bool", true);
export const FALSE = lit("bool", false);
@@ -1196,12 +1194,15 @@ export const program = (body: (Sym | Func)[]) => {
return scope(syms.concat(g.sort()), true);
};
-const defArg = ([type, id, opts]: Arg): FuncArg => ({
- tag: "arg",
- type,
- id: id || gensym(),
- opts: { q: "in", ...opts }
-});
+const defArg = (a: Arg): FuncArg => {
+ const [type, id, opts] = isString(a) ? <[T, string?, SymOpts?]>[a] : a;
+ return {
+ tag: "arg",
+ type,
+ id: id || gensym(),
+ opts: { q: "in", ...opts }
+ };
+};
/**
* Defines a new function with up to 8 typed checked arguments.
diff --git a/packages/shader-ast/src/builtins.ts b/packages/shader-ast/src/builtins.ts
index 2f36896dae..d8dcb43f58 100644
--- a/packages/shader-ast/src/builtins.ts
+++ b/packages/shader-ast/src/builtins.ts
@@ -226,7 +226,7 @@ export const all = (v: Term): FnCall<"bool"> =>
builtinCall("all", "bool", v);
export const _not = (v: Term) =>
- builtinCall("all", v.type, v);
+ builtinCall("not", v.type, v);
const texRetType = (sampler: Term) => {
const t = sampler.type[0];
diff --git a/packages/shader-ast/src/optimize.ts b/packages/shader-ast/src/optimize.ts
index 0205a08b75..4a41c77d93 100644
--- a/packages/shader-ast/src/optimize.ts
+++ b/packages/shader-ast/src/optimize.ts
@@ -24,7 +24,7 @@ const replaceNode = (node: any, next: any) => {
* Currently, only scalar operations are supported / considered.
*
* ```
- * const foo = defn("float", "foo", [["float"]], (x) => [
+ * const foo = defn("float", "foo", ["float"], (x) => [
* ret(mul(x, add(neg(float(10)), float(42))))]
* )
*
diff --git a/packages/sparse/CHANGELOG.md b/packages/sparse/CHANGELOG.md
index 6b69e281df..02bf48342c 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.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.16...@thi.ng/sparse@0.1.17) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/sparse
+
+
+
+
+
## [0.1.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.15...@thi.ng/sparse@0.1.16) (2019-07-07)
**Note:** Version bump only for package @thi.ng/sparse
diff --git a/packages/sparse/package.json b/packages/sparse/package.json
index a96c2013ab..1581ce6808 100644
--- a/packages/sparse/package.json
+++ b/packages/sparse/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/sparse",
- "version": "0.1.16",
+ "version": "0.1.17",
"description": "Sparse vector & matrix implementations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"adjacency",
diff --git a/packages/strings/CHANGELOG.md b/packages/strings/CHANGELOG.md
index 4b84f000b9..c9f8fc4b2e 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.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.2.0...@thi.ng/strings@1.2.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/strings
+
+
+
+
+
# [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.1.3...@thi.ng/strings@1.2.0) (2019-07-07)
diff --git a/packages/strings/package.json b/packages/strings/package.json
index e38aa7b2be..00f772edf4 100644
--- a/packages/strings/package.json
+++ b/packages/strings/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/strings",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Various string formatting & utility functions",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/memoize": "^1.1.0"
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/memoize": "^1.1.1"
},
"keywords": [
"composition",
diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md
index 649ba29070..18dff113fb 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.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.4.0...@thi.ng/transducers-binary@0.4.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/transducers-binary
+
+
+
+
+
# [0.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.3.12...@thi.ng/transducers-binary@0.4.0) (2019-07-07)
diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json
index 35a89ef68e..641f5d7796 100644
--- a/packages/transducers-binary/package.json
+++ b/packages/transducers-binary/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers-binary",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "Binary data related transducers & reducers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/strings": "^1.2.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/strings": "^1.2.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"base64",
diff --git a/packages/transducers-fsm/CHANGELOG.md b/packages/transducers-fsm/CHANGELOG.md
index 6238925864..27993b386e 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.1.0...@thi.ng/transducers-fsm@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/transducers-fsm
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.0.19...@thi.ng/transducers-fsm@1.1.0) (2019-07-07)
diff --git a/packages/transducers-fsm/package.json b/packages/transducers-fsm/package.json
index ba1d2d710c..fc86a7e739 100644
--- a/packages/transducers-fsm/package.json
+++ b/packages/transducers-fsm/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers-fsm",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Transducer-based Finite State Machine transformer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,8 +32,8 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"ES6",
diff --git a/packages/transducers-hdom/CHANGELOG.md b/packages/transducers-hdom/CHANGELOG.md
index 3206a27bb5..9159252e5d 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.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.24...@thi.ng/transducers-hdom@2.0.25) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/transducers-hdom
+
+
+
+
+
## [2.0.24](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.23...@thi.ng/transducers-hdom@2.0.24) (2019-07-07)
**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 9faf52e627..0ca4350033 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.24",
+ "version": "2.0.25",
"description": "Transducer based UI updater for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,9 +32,9 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/hdom": "^8.0.0",
- "@thi.ng/hiccup": "^3.2.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/hdom": "^8.0.1",
+ "@thi.ng/hiccup": "^3.2.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"diff",
diff --git a/packages/transducers-stats/CHANGELOG.md b/packages/transducers-stats/CHANGELOG.md
index d14b8bec25..603678597b 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.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.1.0...@thi.ng/transducers-stats@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/transducers-stats
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.0.19...@thi.ng/transducers-stats@1.1.0) (2019-07-07)
diff --git a/packages/transducers-stats/package.json b/packages/transducers-stats/package.json
index 5412aadb1c..00d158c5ea 100644
--- a/packages/transducers-stats/package.json
+++ b/packages/transducers-stats/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers-stats",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "Transducers for statistical / technical analysis",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,10 +32,10 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/dcons": "^2.1.0",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/dcons": "^2.1.1",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"ES6",
diff --git a/packages/transducers/CHANGELOG.md b/packages/transducers/CHANGELOG.md
index a275d2fca1..77948ac09f 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.4.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.4.0...@thi.ng/transducers@5.4.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/transducers
+
+
+
+
+
# [5.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@5.3.7...@thi.ng/transducers@5.4.0) (2019-07-07)
diff --git a/packages/transducers/package.json b/packages/transducers/package.json
index 576f5a16b5..f3f3e4cfb1 100644
--- a/packages/transducers/package.json
+++ b/packages/transducers/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers",
- "version": "5.4.0",
+ "version": "5.4.1",
"description": "Lightweight transducer implementations for ES6 / TypeScript",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib func iter rfn xform",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,15 +32,15 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/arrays": "^0.2.0",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/compare": "^1.0.7",
- "@thi.ng/compose": "^1.3.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/strings": "^1.2.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/arrays": "^0.2.1",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/compare": "^1.0.8",
+ "@thi.ng/compose": "^1.3.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/strings": "^1.2.1"
},
"keywords": [
"array",
diff --git a/packages/unionstruct/CHANGELOG.md b/packages/unionstruct/CHANGELOG.md
index c169a667da..fd58ce9d43 100644
--- a/packages/unionstruct/CHANGELOG.md
+++ b/packages/unionstruct/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.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/unionstruct@1.1.0...@thi.ng/unionstruct@1.1.1) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/unionstruct
+
+
+
+
+
# [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/unionstruct@1.0.6...@thi.ng/unionstruct@1.1.0) (2019-07-07)
diff --git a/packages/unionstruct/package.json b/packages/unionstruct/package.json
index 55a5fffccb..b97eeb8d42 100644
--- a/packages/unionstruct/package.json
+++ b/packages/unionstruct/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/unionstruct",
- "version": "1.1.0",
+ "version": "1.1.1",
"description": "C-style struct, union and bitfield views of ArrayBuffers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
diff --git a/packages/vector-pools/CHANGELOG.md b/packages/vector-pools/CHANGELOG.md
index 8d0cf50e23..8da4341ba7 100644
--- a/packages/vector-pools/CHANGELOG.md
+++ b/packages/vector-pools/CHANGELOG.md
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@1.0.1...@thi.ng/vector-pools@1.0.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/vector-pools
+
+
+
+
+
+## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@1.0.0...@thi.ng/vector-pools@1.0.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/vector-pools
+
+
+
+
+
# [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@0.2.16...@thi.ng/vector-pools@1.0.0) (2019-07-07)
diff --git a/packages/vector-pools/package.json b/packages/vector-pools/package.json
index eb1fa6b3bc..fc02630758 100644
--- a/packages/vector-pools/package.json
+++ b/packages/vector-pools/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/vector-pools",
- "version": "1.0.0",
+ "version": "1.0.2",
"description": "Data structures for managing & working with strided, memory mapped vectors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/malloc": "^4.0.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/malloc": "^4.0.1",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"ES6",
diff --git a/packages/vectors/CHANGELOG.md b/packages/vectors/CHANGELOG.md
index fa70205459..58cd0ed9ca 100644
--- a/packages/vectors/CHANGELOG.md
+++ b/packages/vectors/CHANGELOG.md
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@3.0.1...@thi.ng/vectors@3.0.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/vectors
+
+
+
+
+
+## [3.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@3.0.0...@thi.ng/vectors@3.0.1) (2019-07-08)
+
+
+### Bug Fixes
+
+* **vectors:** reflect output handling ([8ec12a4](https://github.com/thi-ng/umbrella/commit/8ec12a4))
+
+
+
+
+
# [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@2.5.6...@thi.ng/vectors@3.0.0) (2019-07-07)
diff --git a/packages/vectors/package.json b/packages/vectors/package.json
index db13921454..1274314040 100644
--- a/packages/vectors/package.json
+++ b/packages/vectors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/vectors",
- "version": "3.0.0",
+ "version": "3.0.2",
"description": "Optimized 2d/3d/4d and arbitrary length vector operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "typedoc --mode modules --out doc src",
+ "doc": "typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,15 +32,15 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/math": "^1.4.0",
- "@thi.ng/memoize": "^1.1.0",
- "@thi.ng/random": "^1.1.8",
- "@thi.ng/transducers": "^5.4.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/math": "^1.4.1",
+ "@thi.ng/memoize": "^1.1.1",
+ "@thi.ng/random": "^1.1.9",
+ "@thi.ng/transducers": "^5.4.1"
},
"keywords": [
"2D",
diff --git a/packages/vectors/src/reflect.ts b/packages/vectors/src/reflect.ts
index 5b7d295b1e..d22f13d293 100644
--- a/packages/vectors/src/reflect.ts
+++ b/packages/vectors/src/reflect.ts
@@ -2,4 +2,5 @@ import { VecOpVV } from "./api";
import { dot } from "./dot";
import { maddN } from "./maddn";
-export const reflect: VecOpVV = (out, a, b) => maddN(out, b, -2 * dot(a, b), a);
+export const reflect: VecOpVV = (out, a, b) =>
+ maddN(out || a, b, -2 * dot(a, b), a);
diff --git a/packages/webgl-msdf/CHANGELOG.md b/packages/webgl-msdf/CHANGELOG.md
index 62955ab839..a72f5f2ce4 100644
--- a/packages/webgl-msdf/CHANGELOG.md
+++ b/packages/webgl-msdf/CHANGELOG.md
@@ -3,6 +3,22 @@
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/webgl-msdf@0.1.1...@thi.ng/webgl-msdf@0.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/webgl-msdf
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@0.1.0...@thi.ng/webgl-msdf@0.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/webgl-msdf
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/webgl-msdf/package.json b/packages/webgl-msdf/package.json
index 08c0037361..9879a4861d 100644
--- a/packages/webgl-msdf/package.json
+++ b/packages/webgl-msdf/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/webgl-msdf",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "TODO",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,12 +32,12 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/shader-ast": "^0.1.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vector-pools": "^1.0.0",
- "@thi.ng/vectors": "^3.0.0",
- "@thi.ng/webgl": "^0.1.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/shader-ast": "^0.2.0",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vector-pools": "^1.0.2",
+ "@thi.ng/vectors": "^3.0.2",
+ "@thi.ng/webgl": "^0.1.2"
},
"keywords": [
"ES6",
diff --git a/packages/webgl-msdf/src/shader.ts b/packages/webgl-msdf/src/shader.ts
index 40cec5d80d..5ef47ed058 100644
--- a/packages/webgl-msdf/src/shader.ts
+++ b/packages/webgl-msdf/src/shader.ts
@@ -36,14 +36,14 @@ export interface MSDFShaderOpts {
color: boolean;
}
-export const median3 = defn("float", "median3", [["vec3"]], (v) => [
+export const median3 = defn("float", "median3", ["vec3"], (v) => [
ret(max(min($x(v), $y(v)), min(max($x(v), $y(v)), $z(v))))
]);
export const msdfSample = defn(
"vec2",
"msdfSample",
- [["sampler2D"], ["vec2"]],
+ ["sampler2D", "vec2"],
(tex, uv) => {
let sd: FloatSym;
let w: FloatSym;
diff --git a/packages/webgl/CHANGELOG.md b/packages/webgl/CHANGELOG.md
index ce881f2ac6..73f34c233d 100644
--- a/packages/webgl/CHANGELOG.md
+++ b/packages/webgl/CHANGELOG.md
@@ -3,6 +3,22 @@
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/webgl@0.1.1...@thi.ng/webgl@0.1.2) (2019-07-12)
+
+**Note:** Version bump only for package @thi.ng/webgl
+
+
+
+
+
+## [0.1.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl@0.1.0...@thi.ng/webgl@0.1.1) (2019-07-08)
+
+**Note:** Version bump only for package @thi.ng/webgl
+
+
+
+
+
# 0.1.0 (2019-07-07)
diff --git a/packages/webgl/package.json b/packages/webgl/package.json
index a73379dcb3..07c88e31c9 100644
--- a/packages/webgl/package.json
+++ b/packages/webgl/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/webgl",
- "version": "0.1.0",
+ "version": "0.1.2",
"description": "WebGL abstraction layer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -20,7 +20,7 @@
"test": "rimraf build && tsc -p test/tsconfig.json && nyc mocha build/test/*.js",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib geo shaders textures",
"cover": "yarn test && nyc report --reporter=lcov",
- "doc": "node_modules/.bin/typedoc --mode modules --out doc src",
+ "doc": "node_modules/.bin/typedoc --mode modules --out doc --ignoreCompilerErrors src",
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
@@ -32,19 +32,19 @@
"typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^6.3.0",
- "@thi.ng/associative": "^2.4.0",
- "@thi.ng/binary": "^1.0.7",
- "@thi.ng/checks": "^2.2.0",
- "@thi.ng/equiv": "^1.0.7",
- "@thi.ng/errors": "^1.1.0",
- "@thi.ng/matrices": "^0.5.0",
- "@thi.ng/shader-ast": "^0.1.0",
- "@thi.ng/shader-ast-glsl": "^0.1.0",
- "@thi.ng/shader-ast-stdlib": "^0.1.0",
- "@thi.ng/transducers": "^5.4.0",
- "@thi.ng/vector-pools": "^1.0.0",
- "@thi.ng/vectors": "^3.0.0"
+ "@thi.ng/api": "^6.3.1",
+ "@thi.ng/associative": "^2.4.1",
+ "@thi.ng/binary": "^1.0.8",
+ "@thi.ng/checks": "^2.2.1",
+ "@thi.ng/equiv": "^1.0.8",
+ "@thi.ng/errors": "^1.1.1",
+ "@thi.ng/matrices": "^0.5.2",
+ "@thi.ng/shader-ast": "^0.2.0",
+ "@thi.ng/shader-ast-glsl": "^0.1.2",
+ "@thi.ng/shader-ast-stdlib": "^0.1.2",
+ "@thi.ng/transducers": "^5.4.1",
+ "@thi.ng/vector-pools": "^1.0.2",
+ "@thi.ng/vectors": "^3.0.2"
},
"keywords": [
"declarative",
diff --git a/scripts/make-example b/scripts/make-example
index 9c5982b500..3e2b9a9a20 100755
--- a/scripts/make-example
+++ b/scripts/make-example
@@ -29,6 +29,7 @@ cat << EOF > $MODULE/package.json
"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",
+ "build:webpack": "../../node_modules/.bin/webpack --mode production",
"start": "parcel index.html -p 8080 --open"
},
"devDependencies": {
@@ -110,3 +111,30 @@ Please refer to the [example build instructions](https://github.com/thi-ng/umbre
© 2018 $AUTHOR // Apache Software License 2.0
EOF
+
+echo "writing webpack.config.js..."
+cat << EOF > $MODULE/webpack.config.js
+module.exports = {
+ entry: "./src/index.ts",
+ output: {
+ filename: "bundle.[hash].js",
+ path: __dirname + "/out"
+ },
+ resolve: {
+ extensions: [".ts", ".js"]
+ },
+ module: {
+ rules: [
+ {
+ test: /\.(png|jpg|gif)$/,
+ loader: "file-loader",
+ options: { name: "[path][hash].[ext]" }
+ },
+ { test: /\.ts$/, use: "ts-loader" }
+ ]
+ },
+ node: {
+ process: false
+ }
+};
+EOF
diff --git a/scripts/make-module b/scripts/make-module
index 1023cb9a08..9aba5ce65e 100755
--- a/scripts/make-module
+++ b/scripts/make-module
@@ -57,15 +57,15 @@ cat << EOF > $MODULE/package.json
"pub": "yarn build && yarn publish --access public"
},
"devDependencies": {
- "@types/mocha": "^5.2.5",
- "@types/node": "^10.12.15",
- "mocha": "^5.2.0",
- "nyc": "^13.1.0",
- "typedoc": "^0.14.0",
- "typescript": "^3.2.2"
+ "@types/mocha": "^5.2.6",
+ "@types/node": "^12.0.8",
+ "mocha": "^6.1.4",
+ "nyc": "^14.0.0",
+ "typedoc": "^0.14.2",
+ "typescript": "^3.5.2"
},
"dependencies": {
- "@thi.ng/api": "^5.0.1"
+ "@thi.ng/api": "^6.3.0"
},
"keywords": [
"ES6",