diff --git a/.all-contributorsrc b/.all-contributorsrc
index b8c483fcd4..e4b8bd889f 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -298,6 +298,15 @@
"bug",
"security"
]
+ },
+ {
+ "login": "Jannis",
+ "name": "Jannis Pohlmann",
+ "avatar_url": "https://avatars.githubusercontent.com/u/19324?v=4",
+ "profile": "https://edgeandnode.com",
+ "contributions": [
+ "bug"
+ ]
}
],
"contributorsPerLine": 7,
diff --git a/README.md b/README.md
index eda8980ec6..a04e491888 100644
--- a/README.md
+++ b/README.md
@@ -460,6 +460,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
d3v53c 🐛 🛡️ |
+ Jannis Pohlmann 🐛 |
diff --git a/assets/pixel/resize-bicubic.jpg b/assets/pixel/resize-bicubic.jpg
new file mode 100644
index 0000000000..567c1c8842
Binary files /dev/null and b/assets/pixel/resize-bicubic.jpg differ
diff --git a/assets/pixel/resize-bilinear.jpg b/assets/pixel/resize-bilinear.jpg
new file mode 100644
index 0000000000..bf83cfbe93
Binary files /dev/null and b/assets/pixel/resize-bilinear.jpg differ
diff --git a/assets/pixel/resize-nearest.png b/assets/pixel/resize-nearest.png
new file mode 100644
index 0000000000..173951531a
Binary files /dev/null and b/assets/pixel/resize-nearest.png differ
diff --git a/packages/adjacency/CHANGELOG.md b/packages/adjacency/CHANGELOG.md
index 59a57268d6..bd4cdc9bc6 100644
--- a/packages/adjacency/CHANGELOG.md
+++ b/packages/adjacency/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.3.6...@thi.ng/adjacency@0.3.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/adjacency
+
+
+
+
+
## [0.3.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/adjacency@0.3.5...@thi.ng/adjacency@0.3.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/adjacency
diff --git a/packages/adjacency/README.md b/packages/adjacency/README.md
index 36f090c8ec..a54094aa1f 100644
--- a/packages/adjacency/README.md
+++ b/packages/adjacency/README.md
@@ -42,7 +42,7 @@ yarn add @thi.ng/adjacency
```
-Package sizes (gzipped, pre-treeshake): ESM: 2.29 KB / CJS: 2.38 KB / UMD: 2.44 KB
+Package sizes (gzipped, pre-treeshake): ESM: 2.31 KB / CJS: 2.40 KB / UMD: 2.46 KB
## Dependencies
@@ -50,6 +50,7 @@ Package sizes (gzipped, pre-treeshake): ESM: 2.29 KB / CJS: 2.38 KB / UMD: 2.44
- [@thi.ng/arrays](https://github.com/thi-ng/umbrella/tree/develop/packages/arrays)
- [@thi.ng/bitfield](https://github.com/thi-ng/umbrella/tree/develop/packages/bitfield)
- [@thi.ng/dcons](https://github.com/thi-ng/umbrella/tree/develop/packages/dcons)
+- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
- [@thi.ng/sparse](https://github.com/thi-ng/umbrella/tree/develop/packages/sparse)
## Usage examples
diff --git a/packages/adjacency/package.json b/packages/adjacency/package.json
index cee286e98e..9a138e6db3 100644
--- a/packages/adjacency/package.json
+++ b/packages/adjacency/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/adjacency",
- "version": "0.3.6",
+ "version": "0.3.7",
"description": "Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -40,7 +40,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
- "@thi.ng/vectors": "^5.1.4",
+ "@thi.ng/vectors": "^5.1.5",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
@@ -51,10 +51,11 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
- "@thi.ng/bitfield": "^0.4.5",
- "@thi.ng/dcons": "^2.3.16",
- "@thi.ng/sparse": "^0.1.71"
+ "@thi.ng/arrays": "^0.10.9",
+ "@thi.ng/bitfield": "^0.4.6",
+ "@thi.ng/dcons": "^2.3.17",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/sparse": "^0.1.72"
},
"files": [
"*.js",
diff --git a/packages/adjacency/src/sparse.ts b/packages/adjacency/src/sparse.ts
index e66b7ea17a..0acb321b28 100644
--- a/packages/adjacency/src/sparse.ts
+++ b/packages/adjacency/src/sparse.ts
@@ -1,3 +1,4 @@
+import { ensureIndex2 } from "@thi.ng/errors";
import { CSR } from "@thi.ng/sparse";
import type { DegreeType, Edge, IGraph } from "./api";
import { into, invert, toDot } from "./utils";
@@ -63,7 +64,7 @@ export class AdjacencyMatrix extends CSR implements IGraph {
degree(id: number, type: DegreeType = "out") {
let degree = 0;
- this.ensureIndex(id, id);
+ ensureIndex2(id, id, this.m, this.n);
if (this.undirected || type !== "in") degree += this.nnzRow(id);
if (!this.undirected && type !== "out") degree += this.nnzCol(id);
return degree;
diff --git a/packages/args/CHANGELOG.md b/packages/args/CHANGELOG.md
index 6f4cd73215..48a2e4e869 100644
--- a/packages/args/CHANGELOG.md
+++ b/packages/args/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/args@0.2.6...@thi.ng/args@0.2.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/args
+
+
+
+
+
## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/args@0.2.5...@thi.ng/args@0.2.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/args
diff --git a/packages/args/package.json b/packages/args/package.json
index 7506ef1559..af5948c5db 100644
--- a/packages/args/package.json
+++ b/packages/args/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/args",
- "version": "0.2.6",
+ "version": "0.2.7",
"description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/arrays/CHANGELOG.md b/packages/arrays/CHANGELOG.md
index b4db9785f8..c4d2a3b086 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.10.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.10.8...@thi.ng/arrays@0.10.9) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/arrays
+
+
+
+
+
## [0.10.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/arrays@0.10.7...@thi.ng/arrays@0.10.8) (2021-03-12)
**Note:** Version bump only for package @thi.ng/arrays
diff --git a/packages/arrays/package.json b/packages/arrays/package.json
index 5ae1af43c0..00e9f95202 100644
--- a/packages/arrays/package.json
+++ b/packages/arrays/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/arrays",
- "version": "0.10.8",
+ "version": "0.10.9",
"description": "Array / Arraylike utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,7 +53,7 @@
"@thi.ng/checks": "^2.9.5",
"@thi.ng/compare": "^1.3.28",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/errors": "^1.3.0",
"@thi.ng/random": "^2.3.6"
},
"files": [
diff --git a/packages/associative/CHANGELOG.md b/packages/associative/CHANGELOG.md
index b7ee410ae8..f501e684f1 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.
+## [5.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@5.1.6...@thi.ng/associative@5.1.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/associative
+
+
+
+
+
## [5.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/associative@5.1.5...@thi.ng/associative@5.1.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/associative
diff --git a/packages/associative/package.json b/packages/associative/package.json
index 5ad04f4b07..8cd3308347 100644
--- a/packages/associative/package.json
+++ b/packages/associative/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/associative",
- "version": "5.1.6",
+ "version": "5.1.7",
"description": "Alternative Map and Set implementations with customizable equality semantics & supporting operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,10 +53,10 @@
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/compare": "^1.3.28",
- "@thi.ng/dcons": "^2.3.16",
+ "@thi.ng/dcons": "^2.3.17",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7",
"tslib": "^2.1.0"
},
"files": [
diff --git a/packages/atom/CHANGELOG.md b/packages/atom/CHANGELOG.md
index 0da26de1d0..3eae66a7b4 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.
+## [4.1.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@4.1.33...@thi.ng/atom@4.1.34) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/atom
+
+
+
+
+
## [4.1.33](https://github.com/thi-ng/umbrella/compare/@thi.ng/atom@4.1.32...@thi.ng/atom@4.1.33) (2021-03-12)
**Note:** Version bump only for package @thi.ng/atom
diff --git a/packages/atom/package.json b/packages/atom/package.json
index 53d358f305..1e2a23e221 100644
--- a/packages/atom/package.json
+++ b/packages/atom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/atom",
- "version": "4.1.33",
+ "version": "4.1.34",
"description": "Mutable wrappers for nested immutable values with optional undo/redo history and transaction support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/paths": "^4.2.5",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/paths": "^4.2.6",
"tslib": "^2.1.0"
},
"files": [
diff --git a/packages/bencode/CHANGELOG.md b/packages/bencode/CHANGELOG.md
index 26ad1e1a69..be0258938f 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.57](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.3.56...@thi.ng/bencode@0.3.57) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/bencode
+
+
+
+
+
## [0.3.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/bencode@0.3.55...@thi.ng/bencode@0.3.56) (2021-03-12)
**Note:** Version bump only for package @thi.ng/bencode
diff --git a/packages/bencode/package.json b/packages/bencode/package.json
index 505a58f4ac..e4f7a76757 100644
--- a/packages/bencode/package.json
+++ b/packages/bencode/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bencode",
- "version": "0.3.56",
+ "version": "0.3.57",
"description": "Bencode binary encoder / decoder with optional UTF8 encoding & floating point support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,12 +50,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/transducers-binary": "^0.6.12"
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/transducers-binary": "^0.6.13"
},
"files": [
"*.js",
diff --git a/packages/bitfield/CHANGELOG.md b/packages/bitfield/CHANGELOG.md
index dac488c962..abeea9a8e5 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.4.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.4.5...@thi.ng/bitfield@0.4.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/bitfield
+
+
+
+
+
## [0.4.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitfield@0.4.4...@thi.ng/bitfield@0.4.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/bitfield
diff --git a/packages/bitfield/README.md b/packages/bitfield/README.md
index de0f39d584..27a08f88e0 100644
--- a/packages/bitfield/README.md
+++ b/packages/bitfield/README.md
@@ -44,12 +44,13 @@ yarn add @thi.ng/bitfield
```
-Package sizes (gzipped, pre-treeshake): ESM: 1.17 KB / CJS: 1.22 KB / UMD: 1.31 KB
+Package sizes (gzipped, pre-treeshake): ESM: 1.14 KB / CJS: 1.19 KB / UMD: 1.29 KB
## Dependencies
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
- [@thi.ng/binary](https://github.com/thi-ng/umbrella/tree/develop/packages/binary)
+- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
- [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/develop/packages/strings)
## API
diff --git a/packages/bitfield/package.json b/packages/bitfield/package.json
index bb697a2ca1..4c6054db78 100644
--- a/packages/bitfield/package.json
+++ b/packages/bitfield/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitfield",
- "version": "0.4.5",
+ "version": "0.4.6",
"description": "1D / 2D bit field implementations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,7 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/bitfield/src/bitmatrix.ts b/packages/bitfield/src/bitmatrix.ts
index 59520861e4..c8a522e90b 100644
--- a/packages/bitfield/src/bitmatrix.ts
+++ b/packages/bitfield/src/bitmatrix.ts
@@ -1,5 +1,6 @@
import { assert, Fn2, IClear, ICopy } from "@thi.ng/api";
import { align, bitAnd, bitNot, bitOr, bitXor } from "@thi.ng/binary";
+import { ensureIndex } from "@thi.ng/errors";
import { BitField } from "./bitfield";
import { binOp, popCount, toString } from "./util";
@@ -126,13 +127,13 @@ export class BitMatrix implements IClear, ICopy {
}
popCountRow(m: number) {
- this.ensureRow(m);
+ ensureIndex(m, 0, this.m);
m *= this.stride;
return popCount(this.data.subarray(m, m + this.stride));
}
popCountColumn(n: number) {
- this.ensureColumn(n);
+ ensureIndex(n, 0, this.n);
const { data, stride, m } = this;
const mask = 1 << (~n & 31);
let res = 0;
@@ -143,7 +144,7 @@ export class BitMatrix implements IClear, ICopy {
}
row(m: number) {
- this.ensureRow(m);
+ ensureIndex(m, 0, this.m);
const row = new BitField(this.n);
m *= this.stride;
row.data.set(this.data.subarray(m, m + this.stride));
@@ -151,7 +152,7 @@ export class BitMatrix implements IClear, ICopy {
}
column(n: number) {
- this.ensureColumn(n);
+ ensureIndex(n, 0, this.n);
const { data, stride, m } = this;
const column = new BitField(m);
const mask = 1 << (~n & 31);
@@ -181,14 +182,6 @@ export class BitMatrix implements IClear, ICopy {
`matrices must be same size`
);
}
-
- protected ensureRow(m: number) {
- assert(m >= 0 && m < this.m, `row index out of range: ${m}`);
- }
-
- protected ensureColumn(n: number) {
- assert(n >= 0 && n < this.n, `column index out of range: ${n}`);
- }
}
export const defBitMatrix = (rows: number, cols = rows) =>
diff --git a/packages/bitstream/CHANGELOG.md b/packages/bitstream/CHANGELOG.md
index 5819d67099..6470ac2e81 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.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.1.37...@thi.ng/bitstream@1.1.38) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/bitstream
+
+
+
+
+
## [1.1.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/bitstream@1.1.36...@thi.ng/bitstream@1.1.37) (2021-03-12)
**Note:** Version bump only for package @thi.ng/bitstream
diff --git a/packages/bitstream/package.json b/packages/bitstream/package.json
index 29ba732794..63a795466b 100644
--- a/packages/bitstream/package.json
+++ b/packages/bitstream/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/bitstream",
- "version": "1.1.37",
+ "version": "1.1.38",
"description": "ES6 iterator based read/write bit streams with support for variable word widths",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,7 +49,7 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md
index 921b02256c..fe1b78f333 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.77](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.76...@thi.ng/cache@1.0.77) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/cache
+
+
+
+
+
## [1.0.76](https://github.com/thi-ng/umbrella/compare/@thi.ng/cache@1.0.75...@thi.ng/cache@1.0.76) (2021-03-12)
**Note:** Version bump only for package @thi.ng/cache
diff --git a/packages/cache/package.json b/packages/cache/package.json
index a19b14e414..84e6a1cf0a 100644
--- a/packages/cache/package.json
+++ b/packages/cache/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/cache",
- "version": "1.0.76",
+ "version": "1.0.77",
"description": "In-memory cache implementations with ES6 Map-like API and different eviction strategies",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/dcons": "^2.3.16",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/dcons": "^2.3.17",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/color/CHANGELOG.md b/packages/color/CHANGELOG.md
index 34c6168f7b..2d55f6067c 100644
--- a/packages/color/CHANGELOG.md
+++ b/packages/color/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@3.1.5...@thi.ng/color@3.1.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/color
+
+
+
+
+
## [3.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/color@3.1.4...@thi.ng/color@3.1.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/color
diff --git a/packages/color/package.json b/packages/color/package.json
index 2c99fa9294..bd8a769cc3 100644
--- a/packages/color/package.json
+++ b/packages/color/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/color",
- "version": "3.1.5",
+ "version": "3.1.6",
"description": "Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,18 +51,18 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/compare": "^1.3.28",
- "@thi.ng/compose": "^1.4.29",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/compose": "^1.4.30",
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/colored-noise/CHANGELOG.md b/packages/colored-noise/CHANGELOG.md
index 0747fb0f9c..6fec4ad988 100644
--- a/packages/colored-noise/CHANGELOG.md
+++ b/packages/colored-noise/CHANGELOG.md
@@ -3,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.21](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.20...@thi.ng/colored-noise@0.1.21) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/colored-noise
+
+
+
+
+
## [0.1.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.19...@thi.ng/colored-noise@0.1.20) (2021-03-12)
**Note:** Version bump only for package @thi.ng/colored-noise
diff --git a/packages/colored-noise/package.json b/packages/colored-noise/package.json
index c6efa8b0d8..48112f9958 100644
--- a/packages/colored-noise/package.json
+++ b/packages/colored-noise/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/colored-noise",
- "version": "0.1.20",
+ "version": "0.1.21",
"description": "Customizable O(1) ES6 generators for colored noise",
"module": "./index.js",
"main": "./lib/index.js",
@@ -41,11 +41,11 @@
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
"@thi.ng/api": "^7.1.4",
- "@thi.ng/dsp": "^3.0.12",
- "@thi.ng/dsp-io-wav": "^0.1.46",
- "@thi.ng/text-canvas": "^0.4.11",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4",
+ "@thi.ng/dsp": "^3.0.13",
+ "@thi.ng/dsp-io-wav": "^0.1.47",
+ "@thi.ng/text-canvas": "^0.4.12",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
diff --git a/packages/compose/CHANGELOG.md b/packages/compose/CHANGELOG.md
index 018d14a7c2..f9f90755bb 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.4.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.4.29...@thi.ng/compose@1.4.30) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/compose
+
+
+
+
+
## [1.4.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.4.28...@thi.ng/compose@1.4.29) (2021-03-12)
**Note:** Version bump only for package @thi.ng/compose
diff --git a/packages/compose/package.json b/packages/compose/package.json
index a5f2508c54..f12ab53ef0 100644
--- a/packages/compose/package.json
+++ b/packages/compose/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/compose",
- "version": "1.4.29",
+ "version": "1.4.30",
"description": "Optimized functional composition helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/csp/CHANGELOG.md b/packages/csp/CHANGELOG.md
index bc20ecc890..748e0aa781 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.57](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.1.56...@thi.ng/csp@1.1.57) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/csp
+
+
+
+
+
## [1.1.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/csp@1.1.55...@thi.ng/csp@1.1.56) (2021-03-12)
**Note:** Version bump only for package @thi.ng/csp
diff --git a/packages/csp/package.json b/packages/csp/package.json
index 07cd98dd08..b14f6e60a2 100644
--- a/packages/csp/package.json
+++ b/packages/csp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/csp",
- "version": "1.1.56",
+ "version": "1.1.57",
"description": "ES6 promise based CSP primitives & operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -54,11 +54,11 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/dcons": "^2.3.16",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/dcons": "^2.3.17",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/csv/CHANGELOG.md b/packages/csv/CHANGELOG.md
index 1ca1be766a..3fef02c300 100644
--- a/packages/csv/CHANGELOG.md
+++ b/packages/csv/CHANGELOG.md
@@ -3,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/csv@0.1.16...@thi.ng/csv@0.1.17) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/csv
+
+
+
+
+
## [0.1.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/csv@0.1.15...@thi.ng/csv@0.1.16) (2021-03-12)
**Note:** Version bump only for package @thi.ng/csv
diff --git a/packages/csv/package.json b/packages/csv/package.json
index 50797b3df5..6f93e8a8c6 100644
--- a/packages/csv/package.json
+++ b/packages/csv/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/csv",
- "version": "0.1.16",
+ "version": "0.1.17",
"description": "Customizable, transducer-based CSV parser/object mapper and transformer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/dcons/CHANGELOG.md b/packages/dcons/CHANGELOG.md
index 1d211bda9e..1ccac71e11 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.3.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.3.16...@thi.ng/dcons@2.3.17) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/dcons
+
+
+
+
+
## [2.3.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/dcons@2.3.15...@thi.ng/dcons@2.3.16) (2021-03-12)
**Note:** Version bump only for package @thi.ng/dcons
diff --git a/packages/dcons/README.md b/packages/dcons/README.md
index 10eb4c463b..608d2386d4 100644
--- a/packages/dcons/README.md
+++ b/packages/dcons/README.md
@@ -85,7 +85,7 @@ yarn add @thi.ng/dcons
```
-Package sizes (gzipped, pre-treeshake): ESM: 2.12 KB / CJS: 2.21 KB / UMD: 2.31 KB
+Package sizes (gzipped, pre-treeshake): ESM: 2.11 KB / CJS: 2.19 KB / UMD: 2.29 KB
## Dependencies
diff --git a/packages/dcons/package.json b/packages/dcons/package.json
index 0e64b02db2..c713a1b381 100644
--- a/packages/dcons/package.json
+++ b/packages/dcons/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dcons",
- "version": "2.3.16",
+ "version": "2.3.17",
"description": "Double-linked lists with comprehensive set of operations (incl. optional self-organizing behaviors)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,9 +53,9 @@
"@thi.ng/checks": "^2.9.5",
"@thi.ng/compare": "^1.3.28",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/errors": "^1.3.0",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/dcons/src/dcons.ts b/packages/dcons/src/dcons.ts
index a1f9df65f3..c887a32ba5 100644
--- a/packages/dcons/src/dcons.ts
+++ b/packages/dcons/src/dcons.ts
@@ -1,5 +1,4 @@
-import {
- assert,
+import type {
Comparator,
Fn,
IClear,
@@ -12,12 +11,12 @@ import {
ISeq,
ISeqable,
IStack,
- Predicate,
+ Predicate
} from "@thi.ng/api";
import { isArrayLike } from "@thi.ng/checks";
import { compare } from "@thi.ng/compare";
import { equiv } from "@thi.ng/equiv";
-import { illegalArgs } from "@thi.ng/errors";
+import { ensureIndex, illegalArgs } from "@thi.ng/errors";
import { IRandom, SYSTEM } from "@thi.ng/random";
import { IReducible, isReduced, ReductionFn } from "@thi.ng/transducers";
@@ -223,7 +222,7 @@ export class DCons
if (n <= 0) {
return this.cons(x);
} else {
- this.ensureIndex(n);
+ ensureIndex(n, 0, this._length);
return this.insertBefore(this.nthCellUnsafe(n), x);
}
}
@@ -235,7 +234,7 @@ export class DCons
if (n >= this._length - 1) {
return this.push(x);
} else {
- this.ensureIndex(n);
+ ensureIndex(n, 0, this._length);
return this.insertAfter(this.nthCellUnsafe(n), x);
}
}
@@ -307,7 +306,7 @@ export class DCons
if (at < 0) {
at += this._length;
}
- this.ensureIndex(at);
+ ensureIndex(at, 0, this._length);
cell = this.nthCellUnsafe(at);
} else {
cell = at;
@@ -640,10 +639,6 @@ export class DCons
return [...this];
}
- protected ensureIndex(i: number) {
- assert(i >= 0 && i < this._length, `index out of range: ${i}`);
- }
-
protected nthCellUnsafe(n: number) {
let cell: ConsCell, dir: keyof ConsCell;
if (n <= this._length >> 1) {
diff --git a/packages/dcons/src/sol.ts b/packages/dcons/src/sol.ts
index 075602a775..9cbfebcd68 100644
--- a/packages/dcons/src/sol.ts
+++ b/packages/dcons/src/sol.ts
@@ -1,5 +1,5 @@
import type { Fn2, Predicate } from "@thi.ng/api";
-import { illegalArgs } from "@thi.ng/errors";
+import { outOfBounds } from "@thi.ng/errors";
import { ConsCell, DCons } from "./dcons";
/**
@@ -44,7 +44,7 @@ export class SOL extends DCons {
setNth(n: number, v: T) {
const cell = this.nthCell(n);
- !cell && illegalArgs(`index out of bounds: ${n}`);
+ !cell && outOfBounds(n);
this._reorder(this, cell!).value = v;
return this;
}
diff --git a/packages/defmulti/CHANGELOG.md b/packages/defmulti/CHANGELOG.md
index ae938cf2a0..e1dffdb0eb 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.3.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.3.10...@thi.ng/defmulti@1.3.11) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/defmulti
+
+
+
+
+
## [1.3.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/defmulti@1.3.9...@thi.ng/defmulti@1.3.10) (2021-03-12)
**Note:** Version bump only for package @thi.ng/defmulti
diff --git a/packages/defmulti/package.json b/packages/defmulti/package.json
index 15708590e4..df3ce7b394 100644
--- a/packages/defmulti/package.json
+++ b/packages/defmulti/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/defmulti",
- "version": "1.3.10",
+ "version": "1.3.11",
"description": "Dynamic, extensible multiple dispatch via user supplied dispatch function.",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/dgraph-dot/CHANGELOG.md b/packages/dgraph-dot/CHANGELOG.md
index 3c556f0307..a352344c3f 100644
--- a/packages/dgraph-dot/CHANGELOG.md
+++ b/packages/dgraph-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.
+## [0.1.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@0.1.44...@thi.ng/dgraph-dot@0.1.45) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/dgraph-dot
+
+
+
+
+
## [0.1.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@0.1.43...@thi.ng/dgraph-dot@0.1.44) (2021-03-12)
**Note:** Version bump only for package @thi.ng/dgraph-dot
diff --git a/packages/dgraph-dot/package.json b/packages/dgraph-dot/package.json
index 2178750f31..95cae448f5 100644
--- a/packages/dgraph-dot/package.json
+++ b/packages/dgraph-dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dgraph-dot",
- "version": "0.1.44",
+ "version": "0.1.45",
"description": "Customizable Graphviz DOT serialization for @thi.ng/dgraph",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/dgraph": "^1.3.15",
+ "@thi.ng/dgraph": "^1.3.16",
"@thi.ng/dot": "^1.2.30"
},
"files": [
diff --git a/packages/dgraph/CHANGELOG.md b/packages/dgraph/CHANGELOG.md
index ba36691f72..5e96a0b64b 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.3.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.3.15...@thi.ng/dgraph@1.3.16) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/dgraph
+
+
+
+
+
## [1.3.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph@1.3.14...@thi.ng/dgraph@1.3.15) (2021-03-12)
**Note:** Version bump only for package @thi.ng/dgraph
diff --git a/packages/dgraph/package.json b/packages/dgraph/package.json
index 77ab497bd2..f0dd9c9749 100644
--- a/packages/dgraph/package.json
+++ b/packages/dgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dgraph",
- "version": "1.3.15",
+ "version": "1.3.16",
"description": "Type-agnostic directed acyclic graph (DAG) & graph operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/distance/CHANGELOG.md b/packages/distance/CHANGELOG.md
index b0ae1072e4..6dab071157 100644
--- a/packages/distance/CHANGELOG.md
+++ b/packages/distance/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/distance@0.1.8...@thi.ng/distance@0.1.9) (2021-03-17)
+
+
+### Bug Fixes
+
+* **distance:** update KNearest ctor & heap handling ([#283](https://github.com/thi-ng/umbrella/issues/283)) ([e7cd6f1](https://github.com/thi-ng/umbrella/commit/e7cd6f134bb05d5d5e37e7e7ba241f984d94d98c))
+
+
+
+
+
## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/distance@0.1.7...@thi.ng/distance@0.1.8) (2021-03-12)
**Note:** Version bump only for package @thi.ng/distance
diff --git a/packages/distance/README.md b/packages/distance/README.md
index d33865b7b7..b9b50467ff 100644
--- a/packages/distance/README.md
+++ b/packages/distance/README.md
@@ -106,7 +106,7 @@ yarn add @thi.ng/distance
```
-Package sizes (gzipped, pre-treeshake): ESM: 825 bytes / CJS: 929 bytes / UMD: 970 bytes
+Package sizes (gzipped, pre-treeshake): ESM: 860 bytes / CJS: 967 bytes / UMD: 1013 bytes
## Dependencies
diff --git a/packages/distance/package.json b/packages/distance/package.json
index 57f008f6e1..8a84682bb8 100644
--- a/packages/distance/package.json
+++ b/packages/distance/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/distance",
- "version": "0.1.8",
+ "version": "0.1.9",
"description": "N-dimensional distance metrics & K-nearest neighborhoods for point queries",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,9 +50,9 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/heaps": "^1.2.37",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/heaps": "^1.2.38",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/distance/src/knearest.ts b/packages/distance/src/knearest.ts
index f5faadbeb1..598f53ed7e 100644
--- a/packages/distance/src/knearest.ts
+++ b/packages/distance/src/knearest.ts
@@ -1,4 +1,4 @@
-import type { IDeref } from "@thi.ng/api";
+import { assert, IDeref } from "@thi.ng/api";
import { Heap } from "@thi.ng/heaps";
import { clamp0 } from "@thi.ng/math";
import type { ReadonlyVec } from "@thi.ng/vectors";
@@ -35,6 +35,7 @@ export class KNearest
radius = Infinity,
public sorted = false
) {
+ assert(k > 0, `invalid k (must be > 0)`);
this.radius = clamp0(radius);
this.reset();
}
@@ -76,7 +77,7 @@ export class KNearest
const heap = this._heap;
if (heap.length === this.k) {
heap.pushPop([d, val]);
- this._currR = heap.peek()[0];
+ this._currR = heap.peek()![0];
} else {
heap.push([d, val]);
}
diff --git a/packages/dsp-io-wav/CHANGELOG.md b/packages/dsp-io-wav/CHANGELOG.md
index 468118fa39..c9d305c125 100644
--- a/packages/dsp-io-wav/CHANGELOG.md
+++ b/packages/dsp-io-wav/CHANGELOG.md
@@ -3,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.47](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp-io-wav@0.1.46...@thi.ng/dsp-io-wav@0.1.47) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/dsp-io-wav
+
+
+
+
+
## [0.1.46](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp-io-wav@0.1.45...@thi.ng/dsp-io-wav@0.1.46) (2021-03-12)
**Note:** Version bump only for package @thi.ng/dsp-io-wav
diff --git a/packages/dsp-io-wav/package.json b/packages/dsp-io-wav/package.json
index b8cf936464..1d0c44f98d 100644
--- a/packages/dsp-io-wav/package.json
+++ b/packages/dsp-io-wav/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dsp-io-wav",
- "version": "0.1.46",
+ "version": "0.1.47",
"description": "WAV file format generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/transducers-binary": "^0.6.12"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/transducers-binary": "^0.6.13"
},
"files": [
"*.js",
diff --git a/packages/dsp/CHANGELOG.md b/packages/dsp/CHANGELOG.md
index 1e9105c9aa..e62078d5e6 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.
+## [3.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@3.0.12...@thi.ng/dsp@3.0.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/dsp
+
+
+
+
+
## [3.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/dsp@3.0.11...@thi.ng/dsp@3.0.12) (2021-03-12)
**Note:** Version bump only for package @thi.ng/dsp
diff --git a/packages/dsp/package.json b/packages/dsp/package.json
index c85c5c7c2e..6de211d20f 100644
--- a/packages/dsp/package.json
+++ b/packages/dsp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/dsp",
- "version": "3.0.12",
+ "version": "3.0.13",
"description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,10 +51,10 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/ecs/CHANGELOG.md b/packages/ecs/CHANGELOG.md
index ec95a51e7c..245e004ec2 100644
--- a/packages/ecs/CHANGELOG.md
+++ b/packages/ecs/CHANGELOG.md
@@ -3,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.5.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/ecs@0.5.6...@thi.ng/ecs@0.5.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/ecs
+
+
+
+
+
## [0.5.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/ecs@0.5.5...@thi.ng/ecs@0.5.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/ecs
diff --git a/packages/ecs/package.json b/packages/ecs/package.json
index cbcfd8e218..67fb19bda2 100644
--- a/packages/ecs/package.json
+++ b/packages/ecs/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/ecs",
- "version": "0.5.6",
+ "version": "0.5.7",
"description": "Entity Component System based around typed arrays & sparse sets",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,13 +51,13 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/dcons": "^2.3.16",
+ "@thi.ng/dcons": "^2.3.17",
"@thi.ng/idgen": "^0.2.35",
- "@thi.ng/malloc": "^5.0.5",
- "@thi.ng/transducers": "^7.6.6",
+ "@thi.ng/malloc": "^5.0.6",
+ "@thi.ng/transducers": "^7.6.7",
"tslib": "^2.1.0"
},
"files": [
diff --git a/packages/egf/CHANGELOG.md b/packages/egf/CHANGELOG.md
index 0b56c8e1da..374ef7aa37 100644
--- a/packages/egf/CHANGELOG.md
+++ b/packages/egf/CHANGELOG.md
@@ -3,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.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/egf@0.3.18...@thi.ng/egf@0.3.19) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/egf
+
+
+
+
+
## [0.3.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/egf@0.3.17...@thi.ng/egf@0.3.18) (2021-03-12)
**Note:** Version bump only for package @thi.ng/egf
diff --git a/packages/egf/package.json b/packages/egf/package.json
index 2b66d536c5..cd7cc92330 100644
--- a/packages/egf/package.json
+++ b/packages/egf/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/egf",
- "version": "0.3.18",
+ "version": "0.3.19",
"description": "Extensible Graph Format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -46,13 +46,13 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/dot": "^1.2.30",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/errors": "^1.3.0",
"@thi.ng/prefixes": "^0.1.17",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers-binary": "^0.6.12"
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers-binary": "^0.6.13"
},
"files": [
"*.js",
diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md
index 0feb6713b3..f6d1a302ed 100644
--- a/packages/errors/CHANGELOG.md
+++ b/packages/errors/CHANGELOG.md
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.2.32...@thi.ng/errors@1.3.0) (2021-03-17)
+
+
+### Features
+
+* **errors:** add ensureIndex2(), update outOfBounds() arg type ([ab007d6](https://github.com/thi-ng/umbrella/commit/ab007d6b502c3d1650c7e9cf50da05f0ac042ef3))
+* **errors:** add outOfBounds(), ensureIndex() ([fb5ca0a](https://github.com/thi-ng/umbrella/commit/fb5ca0a7f8a4a6648d3c8485a9108e9154ee4400))
+
+
+
+
+
## [1.2.32](https://github.com/thi-ng/umbrella/compare/@thi.ng/errors@1.2.31...@thi.ng/errors@1.2.32) (2021-03-12)
**Note:** Version bump only for package @thi.ng/errors
diff --git a/packages/errors/README.md b/packages/errors/README.md
index 2c3de0550b..81e1748021 100644
--- a/packages/errors/README.md
+++ b/packages/errors/README.md
@@ -44,7 +44,7 @@ yarn add @thi.ng/errors
```
-Package sizes (gzipped, pre-treeshake): ESM: 264 bytes / CJS: 340 bytes / UMD: 418 bytes
+Package sizes (gzipped, pre-treeshake): ESM: 356 bytes / CJS: 448 bytes / UMD: 508 bytes
## Dependencies
diff --git a/packages/errors/package.json b/packages/errors/package.json
index 545c6e1246..d6df3fc54d 100644
--- a/packages/errors/package.json
+++ b/packages/errors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/errors",
- "version": "1.2.32",
+ "version": "1.3.0",
"description": "Custom error types and error factory functions",
"module": "./index.js",
"main": "./lib/index.js",
diff --git a/packages/errors/src/index.ts b/packages/errors/src/index.ts
index ac23228467..c40b9f3874 100644
--- a/packages/errors/src/index.ts
+++ b/packages/errors/src/index.ts
@@ -2,4 +2,5 @@ export * from "./deferror";
export * from "./illegal-arguments";
export * from "./illegal-arity";
export * from "./illegal-state";
+export * from "./out-of-bounds";
export * from "./unsupported";
diff --git a/packages/errors/src/out-of-bounds.ts b/packages/errors/src/out-of-bounds.ts
new file mode 100644
index 0000000000..b11271f395
--- /dev/null
+++ b/packages/errors/src/out-of-bounds.ts
@@ -0,0 +1,34 @@
+import { defError } from "./deferror";
+
+export const OutOfBoundsError = defError(() => "index out of bounds");
+
+export const outOfBounds = (index: any): never => {
+ throw new OutOfBoundsError(index);
+};
+
+/**
+ * Throws an {@link OutOfBoundsError} if `index` outside the `[min..max)` range.
+ *
+ * @param index
+ * @param min
+ * @param max
+ */
+export const ensureIndex = (index: number, min: number, max: number) =>
+ (index < min || index >= max) && outOfBounds(index);
+
+/**
+ * Throws an {@link OutOfBoundsError} if either `x` or `y` is outside their
+ * respective `[0..max)` range.
+ *
+ * @param x
+ * @param y
+ * @param maxX
+ * @param maxY
+ * @returns
+ */
+export const ensureIndex2 = (
+ x: number,
+ y: number,
+ maxX: number,
+ maxY: number
+) => (x < 0 || x >= maxX || y < 0 || y >= maxY) && outOfBounds([x, y]);
diff --git a/packages/fsm/CHANGELOG.md b/packages/fsm/CHANGELOG.md
index 2b837ff318..7db37a29de 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.4.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.4.43...@thi.ng/fsm@2.4.44) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/fsm
+
+
+
+
+
## [2.4.43](https://github.com/thi-ng/umbrella/compare/@thi.ng/fsm@2.4.42...@thi.ng/fsm@2.4.43) (2021-03-12)
**Note:** Version bump only for package @thi.ng/fsm
diff --git a/packages/fsm/package.json b/packages/fsm/package.json
index 5ef1eb41a9..720c53b5a4 100644
--- a/packages/fsm/package.json
+++ b/packages/fsm/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fsm",
- "version": "2.4.43",
+ "version": "2.4.44",
"description": "Composable primitives for building declarative, transducer based Finite-State Machines & matchers for arbitrary data streams",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,11 +50,11 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/fuzzy-viz/CHANGELOG.md b/packages/fuzzy-viz/CHANGELOG.md
index 94ce455909..e5767492cc 100644
--- a/packages/fuzzy-viz/CHANGELOG.md
+++ b/packages/fuzzy-viz/CHANGELOG.md
@@ -3,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.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy-viz@0.1.14...@thi.ng/fuzzy-viz@0.1.15) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/fuzzy-viz
+
+
+
+
+
## [0.1.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy-viz@0.1.13...@thi.ng/fuzzy-viz@0.1.14) (2021-03-12)
**Note:** Version bump only for package @thi.ng/fuzzy-viz
diff --git a/packages/fuzzy-viz/package.json b/packages/fuzzy-viz/package.json
index 9dbe3f0877..385905bf72 100644
--- a/packages/fuzzy-viz/package.json
+++ b/packages/fuzzy-viz/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fuzzy-viz",
- "version": "0.1.14",
+ "version": "0.1.15",
"description": "Visualization, instrumentation & introspection utils for @thi.ng/fuzzy",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,12 +50,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/fuzzy": "^0.1.8",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/hiccup-svg": "^3.7.13",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/text-canvas": "^0.4.11"
+ "@thi.ng/fuzzy": "^0.1.9",
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/hiccup-svg": "^3.7.14",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/text-canvas": "^0.4.12"
},
"files": [
"*.js",
diff --git a/packages/fuzzy/CHANGELOG.md b/packages/fuzzy/CHANGELOG.md
index 05934a3650..9e20510df6 100644
--- a/packages/fuzzy/CHANGELOG.md
+++ b/packages/fuzzy/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy@0.1.8...@thi.ng/fuzzy@0.1.9) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/fuzzy
+
+
+
+
+
## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/fuzzy@0.1.7...@thi.ng/fuzzy@0.1.8) (2021-03-12)
**Note:** Version bump only for package @thi.ng/fuzzy
diff --git a/packages/fuzzy/package.json b/packages/fuzzy/package.json
index 922d7553e7..c055b773b5 100644
--- a/packages/fuzzy/package.json
+++ b/packages/fuzzy/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/fuzzy",
- "version": "0.1.8",
+ "version": "0.1.9",
"description": "Fuzzy logic operators & configurable rule inferencing engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/math": "^3.2.5"
+ "@thi.ng/math": "^3.3.0"
},
"files": [
"*.js",
diff --git a/packages/geom-accel/CHANGELOG.md b/packages/geom-accel/CHANGELOG.md
index 233f58454d..36b237815e 100644
--- a/packages/geom-accel/CHANGELOG.md
+++ b/packages/geom-accel/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.1.42](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@2.1.41...@thi.ng/geom-accel@2.1.42) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-accel
+
+
+
+
+
## [2.1.41](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-accel@2.1.40...@thi.ng/geom-accel@2.1.41) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-accel
diff --git a/packages/geom-accel/package.json b/packages/geom-accel/package.json
index fe3d454c5e..d56c995bdf 100644
--- a/packages/geom-accel/package.json
+++ b/packages/geom-accel/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-accel",
- "version": "2.1.41",
+ "version": "2.1.42",
"description": "n-D spatial indexing data structures with a shared ES6 Map/Set-like API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,15 +51,15 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/heaps": "^1.2.37",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/heaps": "^1.2.38",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-accel/src/kd-tree-map.ts b/packages/geom-accel/src/kd-tree-map.ts
index 65a9138b74..331aa423a1 100644
--- a/packages/geom-accel/src/kd-tree-map.ts
+++ b/packages/geom-accel/src/kd-tree-map.ts
@@ -383,7 +383,7 @@ const collect = (
node: KdNode,
ndist: number
) =>
- (!acc.length || ndist < acc.peek()[0]) &&
+ (!acc.length || ndist < acc.peek()![0]) &&
(acc.length >= maxNum
? acc.pushPop([ndist, node])
: acc.push([ndist, node]));
diff --git a/packages/geom-api/CHANGELOG.md b/packages/geom-api/CHANGELOG.md
index ba641abcc0..0b0b033041 100644
--- a/packages/geom-api/CHANGELOG.md
+++ b/packages/geom-api/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@2.0.12...@thi.ng/geom-api@2.0.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-api
+
+
+
+
+
## [2.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-api@2.0.11...@thi.ng/geom-api@2.0.12) (2021-03-12)
**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 061fa4cde4..86c04d3896 100644
--- a/packages/geom-api/package.json
+++ b/packages/geom-api/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-api",
- "version": "2.0.12",
+ "version": "2.0.13",
"description": "Shared type & interface declarations for @thi.ng/geom packages",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-arc/CHANGELOG.md b/packages/geom-arc/CHANGELOG.md
index abdc5483e2..fb7b10fe24 100644
--- a/packages/geom-arc/CHANGELOG.md
+++ b/packages/geom-arc/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.31](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.3.30...@thi.ng/geom-arc@0.3.31) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-arc
+
+
+
+
+
## [0.3.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-arc@0.3.29...@thi.ng/geom-arc@0.3.30) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-arc
diff --git a/packages/geom-arc/package.json b/packages/geom-arc/package.json
index 9b10bb8e72..d97deab009 100644
--- a/packages/geom-arc/package.json
+++ b/packages/geom-arc/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-arc",
- "version": "0.3.30",
+ "version": "0.3.31",
"description": "2D circular / elliptic arc operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-resample": "^0.2.63",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-resample": "^0.2.64",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-clip-line/CHANGELOG.md b/packages/geom-clip-line/CHANGELOG.md
index 2efd93c021..d6403e0854 100644
--- a/packages/geom-clip-line/CHANGELOG.md
+++ b/packages/geom-clip-line/CHANGELOG.md
@@ -3,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.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-line@1.2.26...@thi.ng/geom-clip-line@1.2.27) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-clip-line
+
+
+
+
+
## [1.2.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-line@1.2.25...@thi.ng/geom-clip-line@1.2.26) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-clip-line
diff --git a/packages/geom-clip-line/package.json b/packages/geom-clip-line/package.json
index 31d70df688..aa0a6adcca 100644
--- a/packages/geom-clip-line/package.json
+++ b/packages/geom-clip-line/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-clip-line",
- "version": "1.2.26",
+ "version": "1.2.27",
"description": "2D line clipping (Liang-Barsky)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-clip-poly/CHANGELOG.md b/packages/geom-clip-poly/CHANGELOG.md
index 19583f391f..3b8861651d 100644
--- a/packages/geom-clip-poly/CHANGELOG.md
+++ b/packages/geom-clip-poly/CHANGELOG.md
@@ -3,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.52](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.51...@thi.ng/geom-clip-poly@1.0.52) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-clip-poly
+
+
+
+
+
## [1.0.51](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-clip-poly@1.0.50...@thi.ng/geom-clip-poly@1.0.51) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-clip-poly
diff --git a/packages/geom-clip-poly/package.json b/packages/geom-clip-poly/package.json
index 6f12991165..83a8aac970 100644
--- a/packages/geom-clip-poly/package.json
+++ b/packages/geom-clip-poly/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-clip-poly",
- "version": "1.0.51",
+ "version": "1.0.52",
"description": "2D convex polygon clipping (Sutherland-Hodgeman)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,10 +49,10 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/geom-poly-utils": "^0.3.12",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/geom-poly-utils": "^0.3.13",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-closest-point/CHANGELOG.md b/packages/geom-closest-point/CHANGELOG.md
index ea8276b81a..915b216ed4 100644
--- a/packages/geom-closest-point/CHANGELOG.md
+++ b/packages/geom-closest-point/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.5.17...@thi.ng/geom-closest-point@0.5.18) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-closest-point
+
+
+
+
+
## [0.5.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-closest-point@0.5.16...@thi.ng/geom-closest-point@0.5.17) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-closest-point
diff --git a/packages/geom-closest-point/package.json b/packages/geom-closest-point/package.json
index bd50286f0c..8951480138 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.5.17",
+ "version": "0.5.18",
"description": "2D / 3D closest point / proximity helpers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-fuzz/CHANGELOG.md b/packages/geom-fuzz/CHANGELOG.md
index 16c809fe83..88d21ad699 100644
--- a/packages/geom-fuzz/CHANGELOG.md
+++ b/packages/geom-fuzz/CHANGELOG.md
@@ -3,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.41](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-fuzz@0.1.40...@thi.ng/geom-fuzz@0.1.41) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-fuzz
+
+
+
+
+
## [0.1.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-fuzz@0.1.39...@thi.ng/geom-fuzz@0.1.40) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-fuzz
diff --git a/packages/geom-fuzz/package.json b/packages/geom-fuzz/package.json
index 9bd1bdc356..57f16bb858 100644
--- a/packages/geom-fuzz/package.json
+++ b/packages/geom-fuzz/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-fuzz",
- "version": "0.1.40",
+ "version": "0.1.41",
"description": "Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,15 +49,15 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
- "@thi.ng/color": "^3.1.5",
- "@thi.ng/geom": "^2.1.7",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-clip-line": "^1.2.26",
- "@thi.ng/geom-resample": "^0.2.63",
- "@thi.ng/grid-iterators": "^0.4.28",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/associative": "^5.1.7",
+ "@thi.ng/color": "^3.1.6",
+ "@thi.ng/geom": "^2.1.8",
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-clip-line": "^1.2.27",
+ "@thi.ng/geom-resample": "^0.2.64",
+ "@thi.ng/grid-iterators": "^0.4.29",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-hull/CHANGELOG.md b/packages/geom-hull/CHANGELOG.md
index 1b4c355d86..b0a462fcd3 100644
--- a/packages/geom-hull/CHANGELOG.md
+++ b/packages/geom-hull/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.0.84](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.83...@thi.ng/geom-hull@0.0.84) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-hull
+
+
+
+
+
## [0.0.83](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-hull@0.0.82...@thi.ng/geom-hull@0.0.83) (2021-03-12)
**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 cd41802ef1..766648627c 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.83",
+ "version": "0.0.84",
"description": "Fast 2D convex hull (Graham Scan)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,8 +49,8 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-io-obj/CHANGELOG.md b/packages/geom-io-obj/CHANGELOG.md
index 9947c36207..b56f9cc4a3 100644
--- a/packages/geom-io-obj/CHANGELOG.md
+++ b/packages/geom-io-obj/CHANGELOG.md
@@ -3,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.42](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-io-obj@0.1.41...@thi.ng/geom-io-obj@0.1.42) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-io-obj
+
+
+
+
+
## [0.1.41](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-io-obj@0.1.40...@thi.ng/geom-io-obj@0.1.41) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-io-obj
diff --git a/packages/geom-io-obj/package.json b/packages/geom-io-obj/package.json
index e4c005483e..c51dc20a01 100644
--- a/packages/geom-io-obj/package.json
+++ b/packages/geom-io-obj/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-io-obj",
- "version": "0.1.41",
+ "version": "0.1.42",
"description": "Wavefront OBJ parser (& exporter soon)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-isec/CHANGELOG.md b/packages/geom-isec/CHANGELOG.md
index b8bf62efc3..32bab86ce2 100644
--- a/packages/geom-isec/CHANGELOG.md
+++ b/packages/geom-isec/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.7.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.7.15...@thi.ng/geom-isec@0.7.16) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-isec
+
+
+
+
+
## [0.7.15](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isec@0.7.14...@thi.ng/geom-isec@0.7.15) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-isec
diff --git a/packages/geom-isec/package.json b/packages/geom-isec/package.json
index c7221ad815..386fc1389c 100644
--- a/packages/geom-isec/package.json
+++ b/packages/geom-isec/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-isec",
- "version": "0.7.15",
+ "version": "0.7.16",
"description": "2D/3D shape intersection checks",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-closest-point": "^0.5.17",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-closest-point": "^0.5.18",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-isoline/CHANGELOG.md b/packages/geom-isoline/CHANGELOG.md
index d6bf54cd1d..59762f1290 100644
--- a/packages/geom-isoline/CHANGELOG.md
+++ b/packages/geom-isoline/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.82](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.81...@thi.ng/geom-isoline@0.1.82) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-isoline
+
+
+
+
+
## [0.1.81](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-isoline@0.1.80...@thi.ng/geom-isoline@0.1.81) (2021-03-12)
**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 2590982b02..c2705a63b9 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.81",
+ "version": "0.1.82",
"description": "Fast 2D contour line extraction / generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-poly-utils/CHANGELOG.md b/packages/geom-poly-utils/CHANGELOG.md
index b04f7b7fb8..e13ac88351 100644
--- a/packages/geom-poly-utils/CHANGELOG.md
+++ b/packages/geom-poly-utils/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.3.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.3.12...@thi.ng/geom-poly-utils@0.3.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-poly-utils
+
+
+
+
+
## [0.3.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-poly-utils@0.3.11...@thi.ng/geom-poly-utils@0.3.12) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-poly-utils
diff --git a/packages/geom-poly-utils/package.json b/packages/geom-poly-utils/package.json
index b13a0a3d37..ba4db3cf93 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.3.12",
+ "version": "0.3.13",
"description": "2D polygon/polyline analysis & processing utilities",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-resample/CHANGELOG.md b/packages/geom-resample/CHANGELOG.md
index a8527c9023..35f906e6f5 100644
--- a/packages/geom-resample/CHANGELOG.md
+++ b/packages/geom-resample/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.64](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.2.63...@thi.ng/geom-resample@0.2.64) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-resample
+
+
+
+
+
## [0.2.63](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-resample@0.2.62...@thi.ng/geom-resample@0.2.63) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-resample
diff --git a/packages/geom-resample/package.json b/packages/geom-resample/package.json
index cb21b288dc..e5a1ac801b 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.63",
+ "version": "0.2.64",
"description": "Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-closest-point": "^0.5.17",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-closest-point": "^0.5.18",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-splines/CHANGELOG.md b/packages/geom-splines/CHANGELOG.md
index 4845d26042..d42cb5203b 100644
--- a/packages/geom-splines/CHANGELOG.md
+++ b/packages/geom-splines/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.5.51](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.5.50...@thi.ng/geom-splines@0.5.51) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-splines
+
+
+
+
+
## [0.5.50](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-splines@0.5.49...@thi.ng/geom-splines@0.5.50) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-splines
diff --git a/packages/geom-splines/package.json b/packages/geom-splines/package.json
index 78b78c18f1..4e81d9c880 100644
--- a/packages/geom-splines/package.json
+++ b/packages/geom-splines/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-splines",
- "version": "0.5.50",
+ "version": "0.5.51",
"description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,11 +51,11 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-arc": "^0.3.30",
- "@thi.ng/geom-resample": "^0.2.63",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-arc": "^0.3.31",
+ "@thi.ng/geom-resample": "^0.2.64",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-subdiv-curve/CHANGELOG.md b/packages/geom-subdiv-curve/CHANGELOG.md
index a2fa0837ed..041ef53636 100644
--- a/packages/geom-subdiv-curve/CHANGELOG.md
+++ b/packages/geom-subdiv-curve/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.82](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.81...@thi.ng/geom-subdiv-curve@0.1.82) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
+
+
+
+
+
## [0.1.81](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.80...@thi.ng/geom-subdiv-curve@0.1.81) (2021-03-12)
**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 9ad89c2526..17538d539d 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.81",
+ "version": "0.1.82",
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,9 +50,9 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-tessellate/CHANGELOG.md b/packages/geom-tessellate/CHANGELOG.md
index a2fac0bd46..7294dc4f44 100644
--- a/packages/geom-tessellate/CHANGELOG.md
+++ b/packages/geom-tessellate/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.65](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.2.64...@thi.ng/geom-tessellate@0.2.65) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-tessellate
+
+
+
+
+
## [0.2.64](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.2.63...@thi.ng/geom-tessellate@0.2.64) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom-tessellate
diff --git a/packages/geom-tessellate/package.json b/packages/geom-tessellate/package.json
index d1a892308d..b0b94eba76 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.64",
+ "version": "0.2.65",
"description": "2D/3D convex polygon tessellators",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,11 +50,11 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/geom-poly-utils": "^0.3.12",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/geom-poly-utils": "^0.3.13",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom-voronoi/CHANGELOG.md b/packages/geom-voronoi/CHANGELOG.md
index c2cd3120c2..1b19db1bc9 100644
--- a/packages/geom-voronoi/CHANGELOG.md
+++ b/packages/geom-voronoi/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.2.26...@thi.ng/geom-voronoi@0.2.27) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom-voronoi
+
+
+
+
+
## [0.2.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-voronoi@0.2.25...@thi.ng/geom-voronoi@0.2.26) (2021-03-12)
**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 b8e6294ce0..a6c19443fc 100644
--- a/packages/geom-voronoi/package.json
+++ b/packages/geom-voronoi/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom-voronoi",
- "version": "0.2.26",
+ "version": "0.2.27",
"description": "Fast, incremental 2D Delaunay & Voronoi mesh implementation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,13 +51,13 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-clip-line": "^1.2.26",
- "@thi.ng/geom-clip-poly": "^1.0.51",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/geom-poly-utils": "^0.3.12",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/geom-clip-line": "^1.2.27",
+ "@thi.ng/geom-clip-poly": "^1.0.52",
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/geom-poly-utils": "^0.3.13",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/quad-edge": "^0.2.34",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/geom/CHANGELOG.md b/packages/geom/CHANGELOG.md
index bdaeca36e1..90b91d4919 100644
--- a/packages/geom/CHANGELOG.md
+++ b/packages/geom/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@2.1.7...@thi.ng/geom@2.1.8) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/geom
+
+
+
+
+
## [2.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom@2.1.6...@thi.ng/geom@2.1.7) (2021-03-12)
**Note:** Version bump only for package @thi.ng/geom
diff --git a/packages/geom/package.json b/packages/geom/package.json
index 42c0a95aba..c59795f4ba 100644
--- a/packages/geom/package.json
+++ b/packages/geom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/geom",
- "version": "2.1.7",
+ "version": "2.1.8",
"description": "Functional, polymorphic API for 2D geometry types & SVG generation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,31 +50,31 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
+ "@thi.ng/defmulti": "^1.3.11",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-arc": "^0.3.30",
- "@thi.ng/geom-clip-line": "^1.2.26",
- "@thi.ng/geom-clip-poly": "^1.0.51",
- "@thi.ng/geom-closest-point": "^0.5.17",
- "@thi.ng/geom-hull": "^0.0.83",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/geom-poly-utils": "^0.3.12",
- "@thi.ng/geom-resample": "^0.2.63",
- "@thi.ng/geom-splines": "^0.5.50",
- "@thi.ng/geom-subdiv-curve": "^0.1.81",
- "@thi.ng/geom-tessellate": "^0.2.64",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/hiccup-svg": "^3.7.13",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/matrices": "^0.6.50",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-arc": "^0.3.31",
+ "@thi.ng/geom-clip-line": "^1.2.27",
+ "@thi.ng/geom-clip-poly": "^1.0.52",
+ "@thi.ng/geom-closest-point": "^0.5.18",
+ "@thi.ng/geom-hull": "^0.0.84",
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/geom-poly-utils": "^0.3.13",
+ "@thi.ng/geom-resample": "^0.2.64",
+ "@thi.ng/geom-splines": "^0.5.51",
+ "@thi.ng/geom-subdiv-curve": "^0.1.82",
+ "@thi.ng/geom-tessellate": "^0.2.65",
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/hiccup-svg": "^3.7.14",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/matrices": "^0.6.51",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/gp/CHANGELOG.md b/packages/gp/CHANGELOG.md
index c64b31a94c..7b85c4cb2e 100644
--- a/packages/gp/CHANGELOG.md
+++ b/packages/gp/CHANGELOG.md
@@ -3,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.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/gp@0.2.12...@thi.ng/gp@0.2.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/gp
+
+
+
+
+
## [0.2.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/gp@0.2.11...@thi.ng/gp@0.2.12) (2021-03-12)
**Note:** Version bump only for package @thi.ng/gp
diff --git a/packages/gp/package.json b/packages/gp/package.json
index 2c5c2749a0..b7a6aee43f 100644
--- a/packages/gp/package.json
+++ b/packages/gp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/gp",
- "version": "0.2.12",
+ "version": "0.2.13",
"description": "Genetic programming helpers & strategies (tree based & multi-expression programming)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/zipper": "^0.1.42"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/zipper": "^0.1.43"
},
"files": [
"*.js",
diff --git a/packages/grid-iterators/CHANGELOG.md b/packages/grid-iterators/CHANGELOG.md
index e617e4fea9..2b70b670c8 100644
--- a/packages/grid-iterators/CHANGELOG.md
+++ b/packages/grid-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.
+## [0.4.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/grid-iterators@0.4.28...@thi.ng/grid-iterators@0.4.29) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/grid-iterators
+
+
+
+
+
## [0.4.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/grid-iterators@0.4.27...@thi.ng/grid-iterators@0.4.28) (2021-03-12)
**Note:** Version bump only for package @thi.ng/grid-iterators
diff --git a/packages/grid-iterators/package.json b/packages/grid-iterators/package.json
index ec74aaa813..e43978d8f2 100644
--- a/packages/grid-iterators/package.json
+++ b/packages/grid-iterators/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/grid-iterators",
- "version": "0.4.28",
+ "version": "0.4.29",
"description": "2D grid iterators w/ multiple orderings",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,11 +50,11 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/morton": "^2.0.37",
+ "@thi.ng/morton": "^2.0.38",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/hdiff/CHANGELOG.md b/packages/hdiff/CHANGELOG.md
index 964123163e..9db56f9970 100644
--- a/packages/hdiff/CHANGELOG.md
+++ b/packages/hdiff/CHANGELOG.md
@@ -3,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.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdiff@0.1.33...@thi.ng/hdiff@0.1.34) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hdiff
+
+
+
+
+
## [0.1.33](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdiff@0.1.32...@thi.ng/hdiff@0.1.33) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hdiff
diff --git a/packages/hdiff/package.json b/packages/hdiff/package.json
index 6341854921..eb172202f9 100644
--- a/packages/hdiff/package.json
+++ b/packages/hdiff/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdiff",
- "version": "0.1.33",
+ "version": "0.1.34",
"description": "String diffing w/ hiccup output for further processing, e.g. with @thi.ng/hdom, @thi.ng/hiccup. Includes CLI util to generate HTML, with theme support and code folding",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,9 +53,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/diff": "^4.0.7",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/hiccup-css": "^1.1.55",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/hiccup-css": "^1.1.56",
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/hdom-canvas/CHANGELOG.md b/packages/hdom-canvas/CHANGELOG.md
index 8a573af98a..2d1427196c 100644
--- a/packages/hdom-canvas/CHANGELOG.md
+++ b/packages/hdom-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.0.39](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@3.0.38...@thi.ng/hdom-canvas@3.0.39) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hdom-canvas
+
+
+
+
+
## [3.0.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-canvas@3.0.37...@thi.ng/hdom-canvas@3.0.38) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hdom-canvas
diff --git a/packages/hdom-canvas/package.json b/packages/hdom-canvas/package.json
index c2edcee524..0e83de69fa 100644
--- a/packages/hdom-canvas/package.json
+++ b/packages/hdom-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-canvas",
- "version": "3.0.38",
+ "version": "3.0.39",
"description": "@thi.ng/hdom component wrapper for declarative canvas scenegraphs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,8 +52,8 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/diff": "^4.0.7",
- "@thi.ng/hdom": "^8.2.23",
- "@thi.ng/hiccup-canvas": "^1.1.28"
+ "@thi.ng/hdom": "^8.2.24",
+ "@thi.ng/hiccup-canvas": "^1.1.29"
},
"files": [
"*.js",
diff --git a/packages/hdom-components/CHANGELOG.md b/packages/hdom-components/CHANGELOG.md
index 32a6055bdd..352ab2a34e 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.
+## [4.0.31](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@4.0.30...@thi.ng/hdom-components@4.0.31) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hdom-components
+
+
+
+
+
## [4.0.30](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-components@4.0.29...@thi.ng/hdom-components@4.0.30) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hdom-components
diff --git a/packages/hdom-components/package.json b/packages/hdom-components/package.json
index c4919d4d25..071d00ab43 100644
--- a/packages/hdom-components/package.json
+++ b/packages/hdom-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom-components",
- "version": "4.0.30",
+ "version": "4.0.31",
"description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,9 +52,9 @@
"@thi.ng/adapt-dpi": "^1.0.19",
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/transducers-stats": "^1.1.56"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/transducers-stats": "^1.1.57"
},
"files": [
"*.js",
diff --git a/packages/hdom-mock/CHANGELOG.md b/packages/hdom-mock/CHANGELOG.md
index eee0582d2b..6f294f0d81 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.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.55...@thi.ng/hdom-mock@1.1.56) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hdom-mock
+
+
+
+
+
## [1.1.55](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom-mock@1.1.54...@thi.ng/hdom-mock@1.1.55) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hdom-mock
diff --git a/packages/hdom-mock/package.json b/packages/hdom-mock/package.json
index 08577f0d2d..07f16b1bc6 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.55",
+ "version": "1.1.56",
"description": "Mock base implementation for @thi.ng/hdom API",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,7 +51,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/hdom": "^8.2.23"
+ "@thi.ng/hdom": "^8.2.24"
},
"files": [
"*.js",
diff --git a/packages/hdom/CHANGELOG.md b/packages/hdom/CHANGELOG.md
index 3ad69829b4..f0e2e528a4 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.2.24](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.2.23...@thi.ng/hdom@8.2.24) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hdom
+
+
+
+
+
## [8.2.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/hdom@8.2.22...@thi.ng/hdom@8.2.23) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hdom
diff --git a/packages/hdom/package.json b/packages/hdom/package.json
index 9fa023a291..0d787cbec8 100644
--- a/packages/hdom/package.json
+++ b/packages/hdom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hdom",
- "version": "8.2.23",
+ "version": "8.2.24",
"description": "Lightweight vanilla ES6 UI component trees with customizable branch-local behaviors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -40,7 +40,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
- "@thi.ng/atom": "^4.1.33",
+ "@thi.ng/atom": "^4.1.34",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
@@ -54,8 +54,8 @@
"@thi.ng/checks": "^2.9.5",
"@thi.ng/diff": "^4.0.7",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/hiccup": "^3.6.13",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/hiccup": "^3.6.14",
"@thi.ng/prefixes": "^0.1.17"
},
"files": [
diff --git a/packages/heaps/CHANGELOG.md b/packages/heaps/CHANGELOG.md
index 18a9daddcc..562ac89e37 100644
--- a/packages/heaps/CHANGELOG.md
+++ b/packages/heaps/CHANGELOG.md
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.2.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.2.37...@thi.ng/heaps@1.2.38) (2021-03-17)
+
+
+### Bug Fixes
+
+* **heaps:** update return types ([#283](https://github.com/thi-ng/umbrella/issues/283)) ([f7eabec](https://github.com/thi-ng/umbrella/commit/f7eabec276a6a08b58d93512421bae1df1817f2d))
+
+
+
+
+
## [1.2.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/heaps@1.2.36...@thi.ng/heaps@1.2.37) (2021-03-12)
**Note:** Version bump only for package @thi.ng/heaps
diff --git a/packages/heaps/package.json b/packages/heaps/package.json
index 05e053180c..48879c7742 100644
--- a/packages/heaps/package.json
+++ b/packages/heaps/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/heaps",
- "version": "1.2.37",
+ "version": "1.2.38",
"description": "Various heap implementations for arbitrary values and with customizable ordering",
"module": "./index.js",
"main": "./lib/index.js",
diff --git a/packages/heaps/src/heap.ts b/packages/heaps/src/heap.ts
index c9458ec55f..887d9b393b 100644
--- a/packages/heaps/src/heap.ts
+++ b/packages/heaps/src/heap.ts
@@ -76,7 +76,7 @@ export class Heap
return new Heap(null, { compare: this.compare });
}
- peek() {
+ peek(): T | undefined {
return this.values[0];
}
@@ -86,7 +86,7 @@ export class Heap
return this;
}
- pop() {
+ pop(): T | undefined {
const vals = this.values;
const tail = vals.pop();
let res: T;
@@ -100,7 +100,7 @@ export class Heap
return res;
}
- pushPop(val: T, vals = this.values) {
+ pushPop(val: T, vals = this.values): T | undefined {
const head = vals[0];
if (vals.length > 0 && this.compare(head, val) <= 0) {
vals[0] = val;
@@ -124,7 +124,7 @@ export class Heap
*
* @param vals - values to insert
*/
- pushPopAll(vals: Iterable) {
+ pushPopAll(vals: Iterable): T | undefined {
let res: any;
for (let v of vals) {
res = this.pushPop(v);
diff --git a/packages/hiccup-canvas/CHANGELOG.md b/packages/hiccup-canvas/CHANGELOG.md
index 3168fc5be0..2af7aeb3b7 100644
--- a/packages/hiccup-canvas/CHANGELOG.md
+++ b/packages/hiccup-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.29](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-canvas@1.1.28...@thi.ng/hiccup-canvas@1.1.29) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup-canvas
+
+
+
+
+
## [1.1.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-canvas@1.1.27...@thi.ng/hiccup-canvas@1.1.28) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hiccup-canvas
diff --git a/packages/hiccup-canvas/package.json b/packages/hiccup-canvas/package.json
index 845c31187f..1831c5ac51 100644
--- a/packages/hiccup-canvas/package.json
+++ b/packages/hiccup-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-canvas",
- "version": "1.1.28",
+ "version": "1.1.29",
"description": "Hiccup shape tree renderer for vanilla Canvas 2D contexts",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,9 +50,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/color": "^3.1.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/color": "^3.1.6",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/hiccup-carbon-icons/CHANGELOG.md b/packages/hiccup-carbon-icons/CHANGELOG.md
index 8fe7c1fa56..7ac065b81e 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.
+## [2.0.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@2.0.16...@thi.ng/hiccup-carbon-icons@2.0.17) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup-carbon-icons
+
+
+
+
+
## [2.0.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-carbon-icons@2.0.15...@thi.ng/hiccup-carbon-icons@2.0.16) (2021-03-12)
**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 f208f93508..b83ed29c0c 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": "2.0.16",
+ "version": "2.0.17",
"description": "Full set of IBM's Carbon icons in hiccup format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -42,7 +42,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
- "@thi.ng/hiccup": "^3.6.13",
+ "@thi.ng/hiccup": "^3.6.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
diff --git a/packages/hiccup-css/CHANGELOG.md b/packages/hiccup-css/CHANGELOG.md
index 7a9e99df0d..254eda3bed 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.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.55...@thi.ng/hiccup-css@1.1.56) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup-css
+
+
+
+
+
## [1.1.55](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-css@1.1.54...@thi.ng/hiccup-css@1.1.55) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hiccup-css
diff --git a/packages/hiccup-css/package.json b/packages/hiccup-css/package.json
index 73e826eaeb..8cf448f0d0 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.55",
+ "version": "1.1.56",
"description": "CSS from nested JS data structures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/hiccup-markdown/CHANGELOG.md b/packages/hiccup-markdown/CHANGELOG.md
index a9db415947..f38631d874 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.3.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.3.7...@thi.ng/hiccup-markdown@1.3.8) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup-markdown
+
+
+
+
+
## [1.3.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-markdown@1.3.6...@thi.ng/hiccup-markdown@1.3.7) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hiccup-markdown
diff --git a/packages/hiccup-markdown/package.json b/packages/hiccup-markdown/package.json
index 4f7875c420..19daf36662 100644
--- a/packages/hiccup-markdown/package.json
+++ b/packages/hiccup-markdown/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-markdown",
- "version": "1.3.7",
+ "version": "1.3.8",
"description": "Markdown parser & serializer from/to Hiccup format",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,15 +50,15 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/fsm": "^2.4.43",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/text-canvas": "^0.4.11",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/fsm": "^2.4.44",
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/text-canvas": "^0.4.12",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/hiccup-svg/CHANGELOG.md b/packages/hiccup-svg/CHANGELOG.md
index 663f6fc84b..81ddfa8369 100644
--- a/packages/hiccup-svg/CHANGELOG.md
+++ b/packages/hiccup-svg/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.7.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.7.13...@thi.ng/hiccup-svg@3.7.14) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup-svg
+
+
+
+
+
## [3.7.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup-svg@3.7.12...@thi.ng/hiccup-svg@3.7.13) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hiccup-svg
diff --git a/packages/hiccup-svg/package.json b/packages/hiccup-svg/package.json
index 329ffd039d..0e37e05a07 100644
--- a/packages/hiccup-svg/package.json
+++ b/packages/hiccup-svg/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup-svg",
- "version": "3.7.13",
+ "version": "3.7.14",
"description": "SVG element functions for @thi.ng/hiccup & @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/color": "^3.1.5",
+ "@thi.ng/color": "^3.1.6",
"@thi.ng/prefixes": "^0.1.17"
},
"files": [
diff --git a/packages/hiccup/CHANGELOG.md b/packages/hiccup/CHANGELOG.md
index f7ab09aeb2..957c94c52c 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.6.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.6.13...@thi.ng/hiccup@3.6.14) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/hiccup
+
+
+
+
+
## [3.6.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/hiccup@3.6.12...@thi.ng/hiccup@3.6.13) (2021-03-12)
**Note:** Version bump only for package @thi.ng/hiccup
diff --git a/packages/hiccup/package.json b/packages/hiccup/package.json
index a551c3797a..418b992fbd 100644
--- a/packages/hiccup/package.json
+++ b/packages/hiccup/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/hiccup",
- "version": "3.6.13",
+ "version": "3.6.14",
"description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",
"module": "./index.js",
"main": "./lib/index.js",
@@ -40,7 +40,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
- "@thi.ng/atom": "^4.1.33",
+ "@thi.ng/atom": "^4.1.34",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
@@ -52,7 +52,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/iges/CHANGELOG.md b/packages/iges/CHANGELOG.md
index 27fec7c1d9..714e7861bd 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.67](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.1.66...@thi.ng/iges@1.1.67) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/iges
+
+
+
+
+
## [1.1.66](https://github.com/thi-ng/umbrella/compare/@thi.ng/iges@1.1.65...@thi.ng/iges@1.1.66) (2021-03-12)
**Note:** Version bump only for package @thi.ng/iges
diff --git a/packages/iges/package.json b/packages/iges/package.json
index b40774cfa2..07471eb2e1 100644
--- a/packages/iges/package.json
+++ b/packages/iges/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/iges",
- "version": "1.1.66",
+ "version": "1.1.67",
"description": "IGES 5.3 serializer for (currently only) polygonal geometry, both open & closed",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,10 +51,10 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/imgui/CHANGELOG.md b/packages/imgui/CHANGELOG.md
index d007f05b05..ebe0a6bc66 100644
--- a/packages/imgui/CHANGELOG.md
+++ b/packages/imgui/CHANGELOG.md
@@ -3,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.61](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@0.2.60...@thi.ng/imgui@0.2.61) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/imgui
+
+
+
+
+
## [0.2.60](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@0.2.59...@thi.ng/imgui@0.2.60) (2021-03-12)
**Note:** Version bump only for package @thi.ng/imgui
diff --git a/packages/imgui/package.json b/packages/imgui/package.json
index ad8be1a702..396d9c5504 100644
--- a/packages/imgui/package.json
+++ b/packages/imgui/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/imgui",
- "version": "0.2.60",
+ "version": "0.2.61",
"description": "Immediate mode GUI with flexible state handling & data only shape output",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,14 +51,14 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom": "^2.1.7",
- "@thi.ng/geom-api": "^2.0.12",
- "@thi.ng/geom-isec": "^0.7.15",
- "@thi.ng/geom-tessellate": "^0.2.64",
+ "@thi.ng/geom": "^2.1.8",
+ "@thi.ng/geom-api": "^2.0.13",
+ "@thi.ng/geom-isec": "^0.7.16",
+ "@thi.ng/geom-tessellate": "^0.2.65",
"@thi.ng/layout": "^0.1.34",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/interceptors/CHANGELOG.md b/packages/interceptors/CHANGELOG.md
index 414dbe63d5..bc45ae16af 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.2.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.2.44...@thi.ng/interceptors@2.2.45) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/interceptors
+
+
+
+
+
## [2.2.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/interceptors@2.2.43...@thi.ng/interceptors@2.2.44) (2021-03-12)
**Note:** Version bump only for package @thi.ng/interceptors
diff --git a/packages/interceptors/package.json b/packages/interceptors/package.json
index ee61360cba..2f2e7e5416 100644
--- a/packages/interceptors/package.json
+++ b/packages/interceptors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/interceptors",
- "version": "2.2.44",
+ "version": "2.2.45",
"description": "Interceptor based event bus, side effect & immutable state handling",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,10 +50,10 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/atom": "^4.1.33",
+ "@thi.ng/atom": "^4.1.34",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/paths": "^4.2.5"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/paths": "^4.2.6"
},
"files": [
"*.js",
diff --git a/packages/intervals/CHANGELOG.md b/packages/intervals/CHANGELOG.md
index c6e3441b0a..2f5ed6103a 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.
+## [3.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@3.0.5...@thi.ng/intervals@3.0.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/intervals
+
+
+
+
+
## [3.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/intervals@3.0.4...@thi.ng/intervals@3.0.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/intervals
diff --git a/packages/intervals/package.json b/packages/intervals/package.json
index 476af2549b..3e7247b3d5 100644
--- a/packages/intervals/package.json
+++ b/packages/intervals/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/intervals",
- "version": "3.0.5",
+ "version": "3.0.6",
"description": "Closed/open/semi-open interval data type, queries & operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,7 +52,7 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/dlogic": "^1.0.43",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/iterators/CHANGELOG.md b/packages/iterators/CHANGELOG.md
index b88b47094f..1f0adc144c 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.57](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.1.56...@thi.ng/iterators@5.1.57) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/iterators
+
+
+
+
+
## [5.1.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/iterators@5.1.55...@thi.ng/iterators@5.1.56) (2021-03-12)
**Note:** Version bump only for package @thi.ng/iterators
diff --git a/packages/iterators/package.json b/packages/iterators/package.json
index b81218ec13..4d7801fe89 100644
--- a/packages/iterators/package.json
+++ b/packages/iterators/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/iterators",
- "version": "5.1.56",
+ "version": "5.1.57",
"description": "Clojure inspired, composable ES6 iterators & generators",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/dcons": "^2.3.16",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/dcons": "^2.3.17",
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/ksuid/CHANGELOG.md b/packages/ksuid/CHANGELOG.md
index 6a76fa88e3..c400c73180 100644
--- a/packages/ksuid/CHANGELOG.md
+++ b/packages/ksuid/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/ksuid@0.1.7...@thi.ng/ksuid@0.1.8) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/ksuid
+
+
+
+
+
## [0.1.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/ksuid@0.1.6...@thi.ng/ksuid@0.1.7) (2021-03-12)
**Note:** Version bump only for package @thi.ng/ksuid
diff --git a/packages/ksuid/package.json b/packages/ksuid/package.json
index ba9e37e8db..9c6cb4afb7 100644
--- a/packages/ksuid/package.json
+++ b/packages/ksuid/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/ksuid",
- "version": "0.1.7",
+ "version": "0.1.8",
"description": "Configurable K-sortable unique identifiers, binary & base-N encoded",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,7 +53,7 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/base-n": "^0.1.6",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/leb128/CHANGELOG.md b/packages/leb128/CHANGELOG.md
index 14d3676a27..3d3b7938bd 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.
+## [1.0.51](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@1.0.50...@thi.ng/leb128@1.0.51) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/leb128
+
+
+
+
+
## [1.0.50](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@1.0.49...@thi.ng/leb128@1.0.50) (2021-03-12)
**Note:** Version bump only for package @thi.ng/leb128
diff --git a/packages/leb128/package.json b/packages/leb128/package.json
index e73b82ba3d..5f8bef9606 100644
--- a/packages/leb128/package.json
+++ b/packages/leb128/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/leb128",
- "version": "1.0.50",
+ "version": "1.0.51",
"description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers-binary": "^0.6.12"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers-binary": "^0.6.13"
},
"files": [
"*.js",
diff --git a/packages/lsys/CHANGELOG.md b/packages/lsys/CHANGELOG.md
index 879ff236ba..cea1997bf2 100644
--- a/packages/lsys/CHANGELOG.md
+++ b/packages/lsys/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.79](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.78...@thi.ng/lsys@0.2.79) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/lsys
+
+
+
+
+
## [0.2.78](https://github.com/thi-ng/umbrella/compare/@thi.ng/lsys@0.2.77...@thi.ng/lsys@0.2.78) (2021-03-12)
**Note:** Version bump only for package @thi.ng/lsys
diff --git a/packages/lsys/package.json b/packages/lsys/package.json
index 4c5c10cbf3..fdd8da977c 100644
--- a/packages/lsys/package.json
+++ b/packages/lsys/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/lsys",
- "version": "0.2.78",
+ "version": "0.2.79",
"description": "Functional, extensible L-System architecture w/ support for probabilistic rules",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,12 +50,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/compose": "^1.4.29",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/compose": "^1.4.30",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/malloc/CHANGELOG.md b/packages/malloc/CHANGELOG.md
index bae96bebf1..4d77a7163c 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.
+## [5.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@5.0.5...@thi.ng/malloc@5.0.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/malloc
+
+
+
+
+
## [5.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/malloc@5.0.4...@thi.ng/malloc@5.0.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/malloc
diff --git a/packages/malloc/package.json b/packages/malloc/package.json
index 5e89576389..b917ef389d 100644
--- a/packages/malloc/package.json
+++ b/packages/malloc/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/malloc",
- "version": "5.0.5",
+ "version": "5.0.6",
"description": "ArrayBuffer based malloc() impl for hybrid JS/WASM use cases, based on thi.ng/tinyalloc",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,7 +52,7 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/math/CHANGELOG.md b/packages/math/CHANGELOG.md
index 06643c50a0..d62eb39ed3 100644
--- a/packages/math/CHANGELOG.md
+++ b/packages/math/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.
+# [3.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.2.5...@thi.ng/math@3.3.0) (2021-03-17)
+
+
+### Features
+
+* **math:** add mixBicubic(), mixCubicHermiteFromPoints() ([30dda42](https://github.com/thi-ng/umbrella/commit/30dda424cc1a433a71dfa762f0b8c453114466a0))
+
+
+### Performance Improvements
+
+* **math:** replace mixBilinear() w/ inline impl ([bb16dc5](https://github.com/thi-ng/umbrella/commit/bb16dc591dd9455b8d0061a664375a9dc8c74a36))
+
+
+
+
+
## [3.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/math@3.2.4...@thi.ng/math@3.2.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/math
diff --git a/packages/math/README.md b/packages/math/README.md
index 7e056507b8..546597933c 100644
--- a/packages/math/README.md
+++ b/packages/math/README.md
@@ -51,7 +51,7 @@ yarn add @thi.ng/math
```
-Package sizes (gzipped, pre-treeshake): ESM: 3.60 KB / CJS: 4.17 KB / UMD: 3.43 KB
+Package sizes (gzipped, pre-treeshake): ESM: 3.71 KB / CJS: 4.30 KB / UMD: 3.54 KB
## Dependencies
diff --git a/packages/math/package.json b/packages/math/package.json
index f8bc928271..64775fce78 100644
--- a/packages/math/package.json
+++ b/packages/math/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/math",
- "version": "3.2.5",
+ "version": "3.3.0",
"description": "Assorted common math functions & utilities",
"module": "./index.js",
"main": "./lib/index.js",
diff --git a/packages/math/src/mix.ts b/packages/math/src/mix.ts
index 86b4c405a4..725abc98dd 100644
--- a/packages/math/src/mix.ts
+++ b/packages/math/src/mix.ts
@@ -11,6 +11,8 @@ import { EPS, HALF_PI, PI } from "./api";
export const mix: FnN3 = (a, b, t) => a + (b - a) * t;
/**
+ * Bilinear interpolation of given values (`a`,`b`,`c`,`d`).
+ *
* @example
* ```ts
* c d
@@ -27,8 +29,11 @@ export const mix: FnN3 = (a, b, t) => a + (b - a) * t;
* @param u - 1st interpolation factor
* @param v - 2nd interpolation factor
*/
-export const mixBilinear: FnN6 = (a, b, c, d, u, v) =>
- mix(mix(a, b, u), mix(c, d, u), v);
+export const mixBilinear: FnN6 = (a, b, c, d, u, v) => {
+ const iu = 1 - u;
+ const iv = 1 - v;
+ return a * iu * iv + b * u * iv + c * iu * v + d * u * v;
+};
export const mixQuadratic: FnN4 = (a, b, c, t) => {
const s = 1 - t;
@@ -100,6 +105,83 @@ export const mixCubicHermite: FnN5 = (a, ta, b, tb, t) => {
return h00 * a + h10 * ta + h01 * b + h11 * tb;
};
+/**
+ * Similar to {@link mixCubicHermite}, but takes 4 control values (uniformly
+ * spaced) and computes tangents automatically. Returns `b` iff `t=0` and `c`
+ * iff `t=1.0`.
+ *
+ * @param a
+ * @param b
+ * @param c
+ * @param d
+ * @param t
+ */
+export const mixCubicHermiteFromPoints: FnN5 = (a, b, c, d, t) => {
+ d *= 0.5;
+ const aa = -0.5 * a + 1.5 * b - 1.5 * c + d;
+ const bb = a - 2.5 * b + 2 * c - d;
+ const cc = -0.5 * a + 0.5 * c;
+ const dd = b;
+ const t2 = t * t;
+ return t * t2 * aa + t2 * bb + t * cc + dd;
+};
+
+/**
+ * Bicubic interpolation of given 4x4 sample values (in row major order, i.e.
+ * `s00..s03` = 1st row).
+ *
+ * @remarks
+ * Result will not be clamped and might fall outside the total range of the
+ * input samples.
+ *
+ * @param s00
+ * @param s01
+ * @param s02
+ * @param s03
+ * @param s10
+ * @param s11
+ * @param s12
+ * @param s13
+ * @param s20
+ * @param s21
+ * @param s22
+ * @param s23
+ * @param s30
+ * @param s31
+ * @param s32
+ * @param s33
+ * @param u
+ * @param v
+ * @returns
+ */
+export const mixBicubic = (
+ s00: number,
+ s01: number,
+ s02: number,
+ s03: number,
+ s10: number,
+ s11: number,
+ s12: number,
+ s13: number,
+ s20: number,
+ s21: number,
+ s22: number,
+ s23: number,
+ s30: number,
+ s31: number,
+ s32: number,
+ s33: number,
+ u: number,
+ v: number
+) =>
+ mixCubicHermiteFromPoints(
+ mixCubicHermiteFromPoints(s00, s01, s02, s03, u),
+ mixCubicHermiteFromPoints(s10, s11, s12, s13, u),
+ mixCubicHermiteFromPoints(s20, s21, s22, s23, u),
+ mixCubicHermiteFromPoints(s30, s31, s32, s33, u),
+ v
+ );
+
/**
* Helper function for {@link mixCubicHermite}. Computes cardinal tangents
* based on point neighbors of a point B (not given), i.e. `a`
diff --git a/packages/matrices/CHANGELOG.md b/packages/matrices/CHANGELOG.md
index 312657688c..b9f8c43044 100644
--- a/packages/matrices/CHANGELOG.md
+++ b/packages/matrices/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.6.51](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.6.50...@thi.ng/matrices@0.6.51) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/matrices
+
+
+
+
+
## [0.6.50](https://github.com/thi-ng/umbrella/compare/@thi.ng/matrices@0.6.49...@thi.ng/matrices@0.6.50) (2021-03-12)
**Note:** Version bump only for package @thi.ng/matrices
diff --git a/packages/matrices/package.json b/packages/matrices/package.json
index 25b72eb6f7..24b745d7f1 100644
--- a/packages/matrices/package.json
+++ b/packages/matrices/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/matrices",
- "version": "0.6.50",
+ "version": "0.6.51",
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/morton/CHANGELOG.md b/packages/morton/CHANGELOG.md
index 624e0434bc..e97748d250 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.
+## [2.0.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/morton@2.0.37...@thi.ng/morton@2.0.38) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/morton
+
+
+
+
+
## [2.0.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/morton@2.0.36...@thi.ng/morton@2.0.37) (2021-03-12)
**Note:** Version bump only for package @thi.ng/morton
diff --git a/packages/morton/package.json b/packages/morton/package.json
index 303f1240be..2d4fa1308c 100644
--- a/packages/morton/package.json
+++ b/packages/morton/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/morton",
- "version": "2.0.37",
+ "version": "2.0.38",
"description": "Z-order curve / Morton encoding, decoding & range extraction for arbitrary dimensions",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,7 +51,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/math": "^3.2.5"
+ "@thi.ng/math": "^3.3.0"
},
"files": [
"*.js",
diff --git a/packages/oquery/CHANGELOG.md b/packages/oquery/CHANGELOG.md
index 7f2f578c88..2de93978a7 100644
--- a/packages/oquery/CHANGELOG.md
+++ b/packages/oquery/CHANGELOG.md
@@ -3,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.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/oquery@0.2.10...@thi.ng/oquery@0.2.11) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/oquery
+
+
+
+
+
## [0.2.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/oquery@0.2.9...@thi.ng/oquery@0.2.10) (2021-03-12)
**Note:** Version bump only for package @thi.ng/oquery
diff --git a/packages/oquery/package.json b/packages/oquery/package.json
index 2891dedb2a..aedeebcc98 100644
--- a/packages/oquery/package.json
+++ b/packages/oquery/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/oquery",
- "version": "0.2.10",
+ "version": "0.2.11",
"description": "Datalog-inspired, optimized pattern/predicate query engine for JS objects & arrays",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
+ "@thi.ng/defmulti": "^1.3.11",
"@thi.ng/equiv": "^1.0.41"
},
"files": [
diff --git a/packages/parse/CHANGELOG.md b/packages/parse/CHANGELOG.md
index e1ece624bd..00e57022d8 100644
--- a/packages/parse/CHANGELOG.md
+++ b/packages/parse/CHANGELOG.md
@@ -3,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.9.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/parse@0.9.18...@thi.ng/parse@0.9.19) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/parse
+
+
+
+
+
## [0.9.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/parse@0.9.17...@thi.ng/parse@0.9.18) (2021-03-12)
**Note:** Version bump only for package @thi.ng/parse
diff --git a/packages/parse/package.json b/packages/parse/package.json
index 9f8a7697de..2638e40c7a 100644
--- a/packages/parse/package.json
+++ b/packages/parse/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/parse",
- "version": "0.9.18",
+ "version": "0.9.19",
"description": "Purely functional parser combinators & AST generation for generic inputs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,9 +51,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/paths/CHANGELOG.md b/packages/paths/CHANGELOG.md
index ee4aecb8d5..12f3513988 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.
+## [4.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@4.2.5...@thi.ng/paths@4.2.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/paths
+
+
+
+
+
## [4.2.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/paths@4.2.4...@thi.ng/paths@4.2.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/paths
diff --git a/packages/paths/package.json b/packages/paths/package.json
index 4c6a88b062..197b9ef8cd 100644
--- a/packages/paths/package.json
+++ b/packages/paths/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/paths",
- "version": "4.2.5",
+ "version": "4.2.6",
"description": "Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,7 +51,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/pixel-io-netpbm/CHANGELOG.md b/packages/pixel-io-netpbm/CHANGELOG.md
index 1ed013a878..edd4702a6c 100644
--- a/packages/pixel-io-netpbm/CHANGELOG.md
+++ b/packages/pixel-io-netpbm/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel-io-netpbm@0.1.5...@thi.ng/pixel-io-netpbm@0.1.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/pixel-io-netpbm
+
+
+
+
+
## [0.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel-io-netpbm@0.1.4...@thi.ng/pixel-io-netpbm@0.1.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/pixel-io-netpbm
diff --git a/packages/pixel-io-netpbm/package.json b/packages/pixel-io-netpbm/package.json
index a0924ff981..7c774dd711 100644
--- a/packages/pixel-io-netpbm/package.json
+++ b/packages/pixel-io-netpbm/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pixel-io-netpbm",
- "version": "0.1.5",
+ "version": "0.1.6",
"description": "Multi-format NetPBM reader & writer support for @thi.ng/pixel",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/pixel": "^0.7.4"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/pixel": "^0.8.0"
},
"files": [
"*.js",
diff --git a/packages/pixel/CHANGELOG.md b/packages/pixel/CHANGELOG.md
index 00449ad327..1acd1150a7 100644
--- a/packages/pixel/CHANGELOG.md
+++ b/packages/pixel/CHANGELOG.md
@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [0.8.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel@0.7.4...@thi.ng/pixel@0.8.0) (2021-03-17)
+
+
+### Features
+
+* **pixel:** add bicubic samplers, fix resize() ([951fa9e](https://github.com/thi-ng/umbrella/commit/951fa9e1263db6f165dcaee3c951c09b43e42fef))
+* **pixel:** add defIndexed() HOF pixel format ([c13a568](https://github.com/thi-ng/umbrella/commit/c13a5687fac6d08c14d80f380b5c664422b18a3e))
+* **pixel:** add defSampler(), resize() ([aa71eb7](https://github.com/thi-ng/umbrella/commit/aa71eb7a2ccf02fa543c68308371143882ae5e5f)), closes [#256](https://github.com/thi-ng/umbrella/issues/256)
+* **pixel:** add float format samplers, update various types ([6f9dae6](https://github.com/thi-ng/umbrella/commit/6f9dae6010118e491ed161fa4a5bd40ec4719ad4))
+
+
+
+
+
## [0.7.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/pixel@0.7.3...@thi.ng/pixel@0.7.4) (2021-03-12)
**Note:** Version bump only for package @thi.ng/pixel
diff --git a/packages/pixel/README.md b/packages/pixel/README.md
index 0b73a6138b..1b741e6219 100644
--- a/packages/pixel/README.md
+++ b/packages/pixel/README.md
@@ -13,6 +13,9 @@ This project is part of the
- [WIP features](#wip-features)
- [Packed integer pixel formats](#packed-integer-pixel-formats)
- [Floating point pixel formats](#floating-point-pixel-formats)
+ - [Filtered image sampling and resizing](#filtered-image-sampling-and-resizing)
+ - [Filters](#filters)
+ - [Wrap mode](#wrap-mode)
- [Strided convolution & pooling](#strided-convolution--pooling)
- [Normal map generation](#normal-map-generation)
- [Status](#status)
@@ -44,7 +47,7 @@ Typedarray integer & float pixel buffers w/ customizable formats, blitting, dith
- Convolution kernel & pooling kernels presets
- Customizable normal map generation (i.e. X/Y gradients plus static Z component)
- Inversion
-- Image downsampling (nearest neighbor, mean/min/max pooling)
+- Image sampling, resizing, pooling (nearest neighbor, bilinear, bicubic, mean/min/max pooling)
- XY full pixel & channel-only accessors
- 12 packed integer and 6 floating point preset formats (see table below)
- Ordered dithering w/ customizable Bayer matrix size and target color
@@ -116,6 +119,46 @@ formats can be defined via `defFloatFormat()`.
[0..1] interval, with exception of `FLOAT_NORMAL` which uses [-1..1] range)
- Conversion between float formats is currently unsupported
+### Filtered image sampling and resizing
+
+Available (and optimized) for both integer & floating point formats, image
+samplers can be created with the following filters & wrap modes:
+
+#### Filters
+
+- `"nearest"` - nearest neighbor
+- `"linear"` - bilinear interpolation
+- `"cubic"` - bicubic interpolation
+
+#### Wrap mode
+
+- `"clamp"` - outside values return 0
+- `"wrap"` - infinite tiling
+- `"repeat"` - edge pixels are repeated
+
+```ts
+const src = packedBuffer(4, 4, ABGR8888);
+
+// fill w/ random colors
+src.pixels.forEach((_,i) => src.pixels[i] = 0xff << 24 | (Math.random() * 0xffffff));
+
+// create bilinear sampler w/ repeated edge pixels
+const sampler = defSampler(src, "linear", "repeat");
+
+// sample at fractional positions (even outside image)
+sampler(-1.1, 0.5).toString(16)
+// 'ff79643a'
+
+// resize image to 1024x256 using bicubic sampling
+const img = src.resize(1024, 256, "cubic");
+```
+
+| Filter | |
+|-------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| `"nearest"` | ![resized image w/ nearest neighbor sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-nearest.png) |
+| `"linear"` | ![resized image w/ bilinear sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-bilinear.jpg) |
+| `"cubic"` | ![resized image w/ bicubic sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-bicubic.jpg) |
+
### Strided convolution & pooling
Floating point buffers can be processed using arbitrary convolution kernels. The
@@ -216,7 +259,7 @@ yarn add @thi.ng/pixel
```
-Package sizes (gzipped, pre-treeshake): ESM: 7.18 KB / CJS: 7.45 KB / UMD: 7.29 KB
+Package sizes (gzipped, pre-treeshake): ESM: 8.69 KB / CJS: 8.96 KB / UMD: 8.70 KB
## Dependencies
diff --git a/packages/pixel/package.json b/packages/pixel/package.json
index d0e0545097..20422334de 100644
--- a/packages/pixel/package.json
+++ b/packages/pixel/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pixel",
- "version": "0.7.4",
+ "version": "0.8.0",
"description": "Typedarray integer & float pixel buffers w/ customizable formats, blitting, dithering, convolution",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,8 +52,8 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/porter-duff": "^0.1.43"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/porter-duff": "^0.1.44"
},
"files": [
"*.js",
diff --git a/packages/pixel/src/api.ts b/packages/pixel/src/api.ts
index 9497314e88..7fc075f98d 100644
--- a/packages/pixel/src/api.ts
+++ b/packages/pixel/src/api.ts
@@ -4,6 +4,7 @@ import type {
Fn2,
Fn3,
FnN,
+ FnU2,
IObjectOf,
NumericArray,
TypedArray,
@@ -23,20 +24,12 @@ export enum Lane {
/**
* Wrap behaviors (currently unused)
*/
-export enum Wrap {
- NONE,
- U,
- V,
- UV,
-}
+export type Wrap = "clamp" | "wrap" | "repeat";
/**
* Filtered access types (currently unused)
*/
-export enum Filter {
- NEAREST,
- LINEAR,
-}
+export type Filter = "nearest" | "linear" | "cubic";
/**
* Blend function (for packed integers) given to IBlend implementations.
@@ -249,7 +242,7 @@ export interface IPixelBuffer {
): IPixelBuffer;
}
-export interface IBlit {
+export interface IBlit {
/**
* Blits pixels into given `dest` pixel buffer, using provided
* options. If `dest` buffer is smaller than source buffer, only the
@@ -261,7 +254,7 @@ export interface IBlit {
* @param dest -
* @param opts -
*/
- blit(dest: IPixelBuffer, opts?: Partial): void;
+ blit(dest: T, opts?: Partial): void;
/**
* Converts and blits pixels into given canvas at position `x`, `y`
@@ -271,7 +264,7 @@ export interface IBlit {
blitCanvas(canvas: HTMLCanvasElement, x?: number, y?: number): void;
}
-export interface IBlend {
+export interface IBlend {
/**
* Uses given `op` function to blend / compose pixels of this buffer
* with those of `dest` and writes results into `dest`. Supports
@@ -281,11 +274,17 @@ export interface IBlend {
* @param dest -
* @param opts -
*/
- blend(op: F, dest: IPixelBuffer, opts?: Partial): void;
+ blend(op: F, dest: T, opts?: Partial): void;
}
-export interface IInvert {
- invert(): this;
+export interface IInvert {
+ invert(): T;
+}
+
+export interface IResizable {
+ scale(scale: number, sampler?: F | Filter): T;
+
+ resize(w: number, h: number, sampler?: F | Filter): T;
}
export interface IColorChannel {
@@ -447,3 +446,7 @@ export interface NormalMapOpts {
*/
z: number;
}
+
+export type IntSampler = FnU2;
+
+export type FloatSampler = FnU2;
diff --git a/packages/pixel/src/float.ts b/packages/pixel/src/float.ts
index 26126afe58..277f1f602c 100644
--- a/packages/pixel/src/float.ts
+++ b/packages/pixel/src/float.ts
@@ -1,17 +1,24 @@
-import { assert, Fn, ICopy, IEmpty, NumericArray } from "@thi.ng/api";
-import { isNumber } from "@thi.ng/checks";
+import { assert, Fn2, ICopy, IEmpty, NumericArray } from "@thi.ng/api";
+import { isNumber, isString } from "@thi.ng/checks";
import { clamp01 } from "@thi.ng/math";
import type {
BlendFnFloat,
BlitOpts,
+ Filter,
FloatFormat,
FloatFormatSpec,
+ FloatSampler,
+ IBlend,
+ IBlit,
+ IInvert,
IPixelBuffer,
+ IResizable,
PackedFormat,
} from "./api";
import { defFloatFormat } from "./format/float-format";
import { FLOAT_GRAY } from "./format/float-gray";
import { PackedBuffer } from "./packed";
+import { defSampler } from "./sample";
import { clampRegion, ensureChannel, ensureSize, prepRegions } from "./utils";
/**
@@ -43,6 +50,10 @@ export function floatBuffer(...args: any[]) {
export class FloatBuffer
implements
IPixelBuffer,
+ IResizable,
+ IBlend,
+ IBlit,
+ IInvert,
ICopy,
IEmpty {
/**
@@ -263,10 +274,10 @@ export class FloatBuffer
});
}
- forEach(f: Fn) {
+ forEach(f: Fn2) {
const { pixels, stride } = this;
- for (let i = 0, n = pixels.length; i < n; i + stride) {
- f(pixels.subarray(i, i + stride));
+ for (let i = 0, j = 0, n = pixels.length; i < n; i += stride, j++) {
+ pixels.set(f(pixels.subarray(i, i + stride), j), i);
}
return this;
}
@@ -305,29 +316,41 @@ export class FloatBuffer
return this;
}
- /**
- * Returns new buffer of downscaled version (by given integer factor) using
- * simple nearest neighbor sampling.
- *
- * @param res
- */
- downsample(res: number) {
- res |= 0;
- const { width, height, stride, pixels: sbuf } = this;
- const dest = new FloatBuffer(
- (width / res) | 0,
- (height / res) | 0,
- this.format
- );
- const { width: dwidth, height: dheight, pixels: dbuf } = dest;
- res *= stride;
- for (let y = 0, i = 0; y < dheight; y++) {
- for (
- let x = 0, j = y * res * width;
- x < dwidth;
- x++, i += stride, j += res
- ) {
- dbuf.set(sbuf.subarray(j, j + stride), i);
+ invert() {
+ const { pixels, format, stride } = this;
+ for (
+ let i = 0,
+ n = pixels.length,
+ m = format.alpha ? stride - 1 : stride;
+ i < n;
+ i += stride
+ ) {
+ for (let j = 0; j < m; j++) pixels[i + j] = 1 - pixels[i + j];
+ }
+ return this;
+ }
+
+ scale(scale: number, sampler?: FloatSampler | Filter) {
+ assert(scale > 0, `scale must be > 0`);
+ return this.resize(this.width * scale, this.height * scale, sampler);
+ }
+
+ resize(w: number, h: number, sampler: FloatSampler | Filter = "linear") {
+ w |= 0;
+ h |= 0;
+ assert(w > 0 && h > 0, `target width & height must be > 0`);
+ const dest = floatBuffer(w, h, this.format);
+ const dpix = dest.pixels;
+ const scaleX = w > 0 ? this.width / w : 0;
+ const scaleY = h > 0 ? this.height / h : 0;
+ const stride = this.stride;
+ sampler = isString(sampler)
+ ? defSampler(this, sampler, "repeat")
+ : sampler;
+ for (let y = 0, i = 0; y < h; y++) {
+ const yy = y * scaleY;
+ for (let x = 0; x < w; x++, i += stride) {
+ dpix.set(sampler(x * scaleX, yy), i);
}
}
return dest;
diff --git a/packages/pixel/src/format/indexed.ts b/packages/pixel/src/format/indexed.ts
new file mode 100644
index 0000000000..4da5ce81c2
--- /dev/null
+++ b/packages/pixel/src/format/indexed.ts
@@ -0,0 +1,49 @@
+import { assert, NumericArray } from "@thi.ng/api";
+import { swapLane13 } from "@thi.ng/binary";
+import { Lane } from "../api";
+import { defPackedFormat } from "./packed-format";
+
+/**
+ * Creates an indexed color {@link PackedFormat} using the provided palette (in
+ * {@link ARGB8888} or {@link ABGR8888} formats, max. 256 colors).
+ *
+ * @remarks
+ * If `isABGR` is false (default), the palette colors are assumed to be in ARGB
+ * order. When converting colors to indices, palette indices are chosen via the
+ * minimum cartesian distance.
+ *
+ * @param palette
+ * @param isABGR
+ */
+export const defIndexed = (palette: NumericArray, isABGR = false) => {
+ const n = palette.length;
+ assert(n > 0 && n <= 256, `invalid palette size: ${n}`);
+ palette = isABGR ? palette : palette.map(swapLane13);
+ return defPackedFormat({
+ type: "u8",
+ size: 8,
+ channels: [{ size: 8, lane: Lane.RED }],
+ fromABGR: (x) => closestColor(x, palette),
+ toABGR: (x) => palette[x],
+ });
+};
+
+const distBGR = (a: number, b: number) =>
+ Math.hypot(
+ ((a >> 16) & 0xff) - ((b >> 16) & 0xff),
+ ((a >> 8) & 0xff) - ((b >> 8) & 0xff),
+ (a & 0xff) - (b & 0xff)
+ );
+
+const closestColor = (col: number, palette: NumericArray) => {
+ let closest = 0;
+ let minD = Infinity;
+ for (let i = palette.length; --i >= 0; ) {
+ const d = distBGR(col, palette[i]);
+ if (d < minD) {
+ closest = i;
+ minD = d;
+ }
+ }
+ return closest;
+};
diff --git a/packages/pixel/src/index.ts b/packages/pixel/src/index.ts
index 3417bc2952..7f23051821 100644
--- a/packages/pixel/src/index.ts
+++ b/packages/pixel/src/index.ts
@@ -6,6 +6,7 @@ export * from "./dither";
export * from "./float";
export * from "./normal-map";
export * from "./packed";
+export * from "./sample";
export * from "./utils";
export * from "./format/packed-format";
@@ -19,6 +20,7 @@ export * from "./format/gray16";
export * from "./format/gray-alpha16";
export * from "./format/gray8";
export * from "./format/gray-alpha8";
+export * from "./format/indexed";
export * from "./format/rgb565";
export * from "./format/rgb888";
diff --git a/packages/pixel/src/packed.ts b/packages/pixel/src/packed.ts
index f5434adbed..1489036b46 100644
--- a/packages/pixel/src/packed.ts
+++ b/packages/pixel/src/packed.ts
@@ -1,12 +1,13 @@
import {
- Fn,
+ assert,
+ Fn2,
ICopy,
IEmpty,
typedArray,
UIntArray,
uintTypeForBits,
} from "@thi.ng/api";
-import { isNumber } from "@thi.ng/checks";
+import { isNumber, isString } from "@thi.ng/checks";
import {
isPremultipliedInt,
postmultiplyInt,
@@ -17,7 +18,13 @@ import {
BayerSize,
BlendFnInt,
BlitOpts,
+ Filter,
+ IBlend,
+ IBlit,
+ IInvert,
+ IntSampler,
IPixelBuffer,
+ IResizable,
Lane,
PackedChannel,
PackedFormat,
@@ -28,6 +35,7 @@ import { compileGrayFromABGR, compileGrayToABGR } from "./codegen";
import { defBayer } from "./dither";
import { ABGR8888 } from "./format/abgr8888";
import { defPackedFormat } from "./format/packed-format";
+import { defSampler } from "./sample";
import {
clampRegion,
ensureChannel,
@@ -72,6 +80,10 @@ export const buffer = packedBuffer;
export class PackedBuffer
implements
IPixelBuffer,
+ IResizable,
+ IBlend,
+ IBlit,
+ IInvert,
ICopy,
IEmpty {
/**
@@ -347,10 +359,10 @@ export class PackedBuffer
return true;
}
- forEach(f: Fn) {
+ forEach(f: Fn2) {
const pix = this.pixels;
for (let i = pix.length; --i >= 0; ) {
- pix[i] = f(pix[i]);
+ pix[i] = f(pix[i], i);
}
return this;
}
@@ -425,27 +437,32 @@ export class PackedBuffer
}
/**
- * Returns new buffer of downscaled version (by given integer factor) using
- * simple nearest neighbor sampling.
+ * Returns scaled version of this buffer using given sampler or filter
+ * (default: `"linear"`) for interpolation. Syntax sugar for
+ * {@link PackedBuffer.resize}.
*
- * @param res
+ * @param scale
*/
- downsample(res: number) {
- res |= 0;
- const { width, height, pixels: sbuf } = this;
- const dest = new PackedBuffer(
- (width / res) | 0,
- (height / res) | 0,
- this.format
- );
- const { width: dwidth, height: dheight, pixels: dbuf } = dest;
- for (let y = 0, i = 0; y < dheight; y++) {
- for (
- let x = 0, j = y * res * width;
- x < dwidth;
- x++, i++, j += res
- ) {
- dbuf[i] = sbuf[j];
+ scale(scale: number, sampler: IntSampler | Filter = "linear") {
+ assert(scale > 0, `scale must be > 0`);
+ return this.resize(this.width * scale, this.height * scale, sampler);
+ }
+
+ resize(w: number, h: number, sampler: IntSampler | Filter = "linear") {
+ w |= 0;
+ h |= 0;
+ assert(w > 0 && h > 0, `target width & height must be > 0`);
+ const dest = packedBuffer(w, h, this.format);
+ const dpix = dest.pixels;
+ const scaleX = w > 0 ? this.width / w : 0;
+ const scaleY = h > 0 ? this.height / h : 0;
+ sampler = isString(sampler)
+ ? defSampler(this, sampler, "repeat")
+ : sampler;
+ for (let y = 0, i = 0; y < h; y++) {
+ const yy = y * scaleY;
+ for (let x = 0; x < w; x++, i++) {
+ dpix[i] = sampler(x * scaleX, yy);
}
}
return dest;
diff --git a/packages/pixel/src/sample.ts b/packages/pixel/src/sample.ts
new file mode 100644
index 0000000000..4bff2dba10
--- /dev/null
+++ b/packages/pixel/src/sample.ts
@@ -0,0 +1,404 @@
+import { assert, Fn, IObjectOf, NumericArray } from "@thi.ng/api";
+import { clamp, fmod, fract, mixBicubic, mixBilinear } from "@thi.ng/math";
+import type {
+ Filter,
+ FloatSampler,
+ IntSampler,
+ IPixelBuffer,
+ Wrap,
+} from "./api";
+import type { FloatBuffer } from "./float";
+import type { PackedBuffer } from "./packed";
+
+export function defSampler(
+ src: PackedBuffer,
+ filter?: Filter,
+ wrap?: Wrap
+): IntSampler;
+export function defSampler(
+ src: FloatBuffer,
+ filter?: Filter,
+ wrap?: Wrap
+): FloatSampler;
+export function defSampler(
+ src: IPixelBuffer,
+ filter: Filter = "linear",
+ wrap: Wrap = "clamp"
+) {
+ const isFloat = !!(src.format).__float;
+ const suffix = (src.format).channels.length === 1 ? "1" : "";
+ const id = `${filter[0]}${wrap[0]}${suffix}`;
+ const impl = (isFloat
+ ? >>{
+ nc1: sampleFNC,
+ nw1: sampleFNW,
+ nr1: sampleFNR,
+ nc: sampleFNC,
+ nw: sampleFNW,
+ nr: sampleFNR,
+ lc1: (src) => bilinearGrayF(sampleINC(src)),
+ lw1: (src) => bilinearGrayF(sampleINW(src)),
+ lr1: (src) => bilinearGrayF(sampleINR(src)),
+ lc: (src) => bilinearFloat(src, sampleFNC(src)),
+ lw: (src) => bilinearFloat(src, sampleFNW(src)),
+ lr: (src) => bilinearFloat(src, sampleFNR(src)),
+ cc1: (src) => bicubicGrayF(sampleINC(src)),
+ cw1: (src) => bicubicGrayF(sampleINW(src)),
+ cr1: (src) => bicubicGrayF(sampleINR(src)),
+ cc: (src) => bicubicFloat(src, sampleFNC(src)),
+ cw: (src) => bicubicFloat(src, sampleFNW(src)),
+ cr: (src) => bicubicFloat(src, sampleFNR(src)),
+ }
+ : >>{
+ nc1: sampleINC,
+ nw1: sampleINW,
+ nr1: sampleINR,
+ nc: sampleINC,
+ nw: sampleINW,
+ nr: sampleINR,
+ lc1: (src) => bilinearGray(sampleINC(src)),
+ lw1: (src) => bilinearGray(sampleINW(src)),
+ lr1: (src) => bilinearGray(sampleINR(src)),
+ lc: (src) => bilinearABGR(src, sampleINC(src)),
+ lw: (src) => bilinearABGR(src, sampleINW(src)),
+ lr: (src) => bilinearABGR(src, sampleINR(src)),
+ cc1: (src) => bicubicGray(src, sampleINC(src)),
+ cw1: (src) => bicubicGray(src, sampleINW(src)),
+ cr1: (src) => bicubicGray(src, sampleINR(src)),
+ cc: (src) => bicubicABGR(src, sampleINC(src)),
+ cw: (src) => bicubicABGR(src, sampleINW(src)),
+ cr: (src) => bicubicABGR(src, sampleINR(src)),
+ })[id];
+ assert(!!impl, `missing impl for ${id}`);
+ return impl(src);
+}
+
+const sampleINC = ({ pixels, width, height }: IPixelBuffer): IntSampler => (
+ x,
+ y
+) =>
+ x >= 0 && x < width && y >= 0 && y < height
+ ? pixels[(y | 0) * width + (x | 0)]
+ : 0;
+
+const sampleINW = ({ pixels, width, height }: IPixelBuffer): IntSampler => (
+ x,
+ y
+) => pixels[fmod(y | 0, height) * width + fmod(x | 0, width)];
+
+const sampleINR = ({ pixels, width, height }: IPixelBuffer): IntSampler => {
+ const w1 = width - 1;
+ const h1 = height - 1;
+ return (x, y) => pixels[clamp(y | 0, 0, h1) * width + clamp(x | 0, 0, w1)];
+};
+
+const sampleFNC = ({
+ pixels,
+ width,
+ height,
+ rowStride,
+ stride,
+}: FloatBuffer): FloatSampler => (x, y) => {
+ let i: number;
+ return x >= 0 && x < width && y >= 0 && y < height
+ ? ((i = (y | 0) * rowStride + (x | 0) * stride),
+ pixels.slice(i, i + stride))
+ : [0];
+};
+
+const sampleFNW = ({
+ pixels,
+ width,
+ height,
+ rowStride,
+ stride,
+}: FloatBuffer): FloatSampler => (x, y) => {
+ let i = fmod(y | 0, height) * rowStride + fmod(x | 0, width) * stride;
+ return pixels.slice(i, i + stride);
+};
+
+const sampleFNR = ({
+ pixels,
+ width,
+ height,
+ rowStride,
+ stride,
+}: FloatBuffer): FloatSampler => {
+ const w1 = width - 1;
+ const h1 = height - 1;
+ return (x, y) => {
+ let i = clamp(y | 0, 0, h1) * rowStride + clamp(x | 0, 0, w1) * stride;
+ return pixels.slice(i, i + stride);
+ };
+};
+
+const mixBilinearChan = (
+ buf: NumericArray,
+ u: number,
+ v: number,
+ i: number,
+ s = 4
+) => mixBilinear(buf[i], buf[i + s], buf[i + 2 * s], buf[i + 3 * s], u, v);
+
+const bilinearGray = (sample: IntSampler): IntSampler => (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ return mixBilinear(
+ sample(x, y),
+ sample(x + 1, y),
+ sample(x, y + 1),
+ sample(x + 1, y + 1),
+ fract(x),
+ fract(y)
+ );
+};
+
+const bilinearGrayF = (sample: IntSampler): FloatSampler => (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ return [
+ mixBilinear(
+ sample(x, y),
+ sample(x + 1, y),
+ sample(x, y + 1),
+ sample(x + 1, y + 1),
+ fract(x),
+ fract(y)
+ ),
+ ];
+};
+
+const bilinearABGR = (src: PackedBuffer, sample1: IntSampler): IntSampler => {
+ const { fromABGR, toABGR } = src.format;
+ const u32 = new Uint32Array(4);
+ const u8 = new Uint8Array(u32.buffer);
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ u32[0] = toABGR(sample1(x, y));
+ u32[1] = toABGR(sample1(x + 1, y));
+ u32[2] = toABGR(sample1(x, y + 1));
+ u32[3] = toABGR(sample1(x + 1, y + 1));
+ const u = fract(x);
+ const v = fract(y);
+ return (
+ fromABGR(
+ mixBilinearChan(u8, u, v, 0) |
+ (mixBilinearChan(u8, u, v, 1) << 8) |
+ (mixBilinearChan(u8, u, v, 2) << 16) |
+ (mixBilinearChan(u8, u, v, 3) << 24)
+ ) >>> 0
+ );
+ };
+};
+
+const bilinearFloat = (
+ { stride }: FloatBuffer,
+ sample1: FloatSampler
+): FloatSampler => {
+ const f32 = new Float32Array(stride * 4);
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ f32.set(sample1(x, y), 0);
+ f32.set(sample1(x + 1, y), stride);
+ f32.set(sample1(x, y + 1), stride * 2);
+ f32.set(sample1(x + 1, y + 1), stride * 3);
+ const u = fract(x);
+ const v = fract(y);
+ let res = [];
+ for (let i = 0; i < stride; i++) {
+ res.push(mixBilinearChan(f32, u, v, i, stride));
+ }
+ return res;
+ };
+};
+
+const bicubicGray = (src: PackedBuffer, sample: IntSampler): IntSampler => {
+ const max = src.format.channels[0].mask0;
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ const x1 = x - 1;
+ const x2 = x + 1;
+ const x3 = x + 2;
+ const y1 = y - 1;
+ const y2 = y + 1;
+ const y3 = y + 2;
+ return clamp(
+ mixBicubic(
+ sample(x1, y1),
+ sample(x, y1),
+ sample(x2, y1),
+ sample(x3, y1),
+ sample(x1, y),
+ sample(x, y),
+ sample(x2, y),
+ sample(x3, y),
+ sample(x1, y2),
+ sample(x, y2),
+ sample(x2, y2),
+ sample(x3, y2),
+ sample(x1, y3),
+ sample(x, y3),
+ sample(x2, y3),
+ sample(x3, y3),
+ fract(x),
+ fract(y)
+ ),
+ 0,
+ max
+ );
+ };
+};
+
+const bicubicGrayF = (sample: IntSampler): FloatSampler => {
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ const x1 = x - 1;
+ const x2 = x + 1;
+ const x3 = x + 2;
+ const y1 = y - 1;
+ const y2 = y + 1;
+ const y3 = y + 2;
+ return [
+ mixBicubic(
+ sample(x1, y1),
+ sample(x, y1),
+ sample(x2, y1),
+ sample(x3, y1),
+ sample(x1, y),
+ sample(x, y),
+ sample(x2, y),
+ sample(x3, y),
+ sample(x1, y2),
+ sample(x, y2),
+ sample(x2, y2),
+ sample(x3, y2),
+ sample(x1, y3),
+ sample(x, y3),
+ sample(x2, y3),
+ sample(x3, y3),
+ fract(x),
+ fract(y)
+ ),
+ ];
+ };
+};
+
+const mixBicubicChan = (
+ buf: NumericArray,
+ u: number,
+ v: number,
+ i: number,
+ s = 4,
+ min = 0,
+ max = 255
+) =>
+ clamp(
+ mixBicubic(
+ buf[i],
+ buf[i + s],
+ buf[i + 2 * s],
+ buf[i + 3 * s],
+ buf[i + 4 * s],
+ buf[i + 5 * s],
+ buf[i + 6 * s],
+ buf[i + 7 * s],
+ buf[i + 8 * s],
+ buf[i + 9 * s],
+ buf[i + 10 * s],
+ buf[i + 11 * s],
+ buf[i + 12 * s],
+ buf[i + 13 * s],
+ buf[i + 14 * s],
+ buf[i + 15 * s],
+ u,
+ v
+ ),
+ min,
+ max
+ );
+
+const bicubicABGR = (src: PackedBuffer, sample: IntSampler): IntSampler => {
+ const { fromABGR, toABGR } = src.format;
+ const u32 = new Uint32Array(16);
+ const u8 = new Uint8Array(u32.buffer);
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ const x1 = x - 1;
+ const x2 = x + 1;
+ const x3 = x + 2;
+ const y1 = y - 1;
+ const y2 = y + 1;
+ const y3 = y + 2;
+ const u = fract(x);
+ const v = fract(y);
+ u32[0] = toABGR(sample(x1, y1));
+ u32[1] = toABGR(sample(x, y1));
+ u32[2] = toABGR(sample(x2, y1));
+ u32[3] = toABGR(sample(x3, y1));
+ u32[4] = toABGR(sample(x1, y));
+ u32[5] = toABGR(sample(x, y));
+ u32[6] = toABGR(sample(x2, y));
+ u32[7] = toABGR(sample(x3, y));
+ u32[8] = toABGR(sample(x1, y2));
+ u32[9] = toABGR(sample(x, y2));
+ u32[10] = toABGR(sample(x2, y2));
+ u32[11] = toABGR(sample(x3, y2));
+ u32[12] = toABGR(sample(x1, y3));
+ u32[13] = toABGR(sample(x, y3));
+ u32[14] = toABGR(sample(x2, y3));
+ u32[15] = toABGR(sample(x3, y3));
+ return (
+ fromABGR(
+ mixBicubicChan(u8, u, v, 0) |
+ (mixBicubicChan(u8, u, v, 1) << 8) |
+ (mixBicubicChan(u8, u, v, 2) << 16) |
+ (mixBicubicChan(u8, u, v, 3) << 24)
+ ) >>> 0
+ );
+ };
+};
+
+const bicubicFloat = (
+ { stride }: FloatBuffer,
+ sample: FloatSampler
+): FloatSampler => {
+ const f32 = new Float32Array(stride * 16);
+ return (x, y) => {
+ x -= 0.5;
+ y -= 0.5;
+ const x1 = x - 1;
+ const x2 = x + 1;
+ const x3 = x + 2;
+ const y1 = y - 1;
+ const y2 = y + 1;
+ const y3 = y + 2;
+ const u = fract(x);
+ const v = fract(y);
+ f32.set(sample(x1, y1), 0);
+ f32.set(sample(x, y1), stride);
+ f32.set(sample(x2, y1), 2 * stride);
+ f32.set(sample(x3, y1), 3 * stride);
+ f32.set(sample(x1, y), 4 * stride);
+ f32.set(sample(x, y), 5 * stride);
+ f32.set(sample(x2, y), 6 * stride);
+ f32.set(sample(x3, y), 7 * stride);
+ f32.set(sample(x1, y2), 8 * stride);
+ f32.set(sample(x, y2), 9 * stride);
+ f32.set(sample(x2, y2), 10 * stride);
+ f32.set(sample(x3, y2), 11 * stride);
+ f32.set(sample(x1, y3), 12 * stride);
+ f32.set(sample(x, y3), 13 * stride);
+ f32.set(sample(x2, y3), 14 * stride);
+ f32.set(sample(x3, y3), 15 * stride);
+ let res = [];
+ for (let i = 0; i < stride; i++) {
+ res.push(mixBicubicChan(f32, u, v, i, stride, -Infinity, Infinity));
+ }
+ return res;
+ };
+};
diff --git a/packages/pixel/tpl.readme.md b/packages/pixel/tpl.readme.md
index 04a585e460..3c4392751f 100644
--- a/packages/pixel/tpl.readme.md
+++ b/packages/pixel/tpl.readme.md
@@ -28,7 +28,7 @@ ${pkg.description}
- Convolution kernel & pooling kernels presets
- Customizable normal map generation (i.e. X/Y gradients plus static Z component)
- Inversion
-- Image downsampling (nearest neighbor, mean/min/max pooling)
+- Image sampling, resizing, pooling (nearest neighbor, bilinear, bicubic, mean/min/max pooling)
- XY full pixel & channel-only accessors
- 12 packed integer and 6 floating point preset formats (see table below)
- Ordered dithering w/ customizable Bayer matrix size and target color
@@ -100,6 +100,46 @@ formats can be defined via `defFloatFormat()`.
[0..1] interval, with exception of `FLOAT_NORMAL` which uses [-1..1] range)
- Conversion between float formats is currently unsupported
+### Filtered image sampling and resizing
+
+Available (and optimized) for both integer & floating point formats, image
+samplers can be created with the following filters & wrap modes:
+
+#### Filters
+
+- `"nearest"` - nearest neighbor
+- `"linear"` - bilinear interpolation
+- `"cubic"` - bicubic interpolation
+
+#### Wrap mode
+
+- `"clamp"` - outside values return 0
+- `"wrap"` - infinite tiling
+- `"repeat"` - edge pixels are repeated
+
+```ts
+const src = packedBuffer(4, 4, ABGR8888);
+
+// fill w/ random colors
+src.pixels.forEach((_,i) => src.pixels[i] = 0xff << 24 | (Math.random() * 0xffffff));
+
+// create bilinear sampler w/ repeated edge pixels
+const sampler = defSampler(src, "linear", "repeat");
+
+// sample at fractional positions (even outside image)
+sampler(-1.1, 0.5).toString(16)
+// 'ff79643a'
+
+// resize image to 1024x256 using bicubic sampling
+const img = src.resize(1024, 256, "cubic");
+```
+
+| Filter | |
+|-------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| `"nearest"` | ![resized image w/ nearest neighbor sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-nearest.png) |
+| `"linear"` | ![resized image w/ bilinear sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-bilinear.jpg) |
+| `"cubic"` | ![resized image w/ bicubic sampling](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/pixel/resize-bicubic.jpg) |
+
### Strided convolution & pooling
Floating point buffers can be processed using arbitrary convolution kernels. The
diff --git a/packages/pointfree-lang/CHANGELOG.md b/packages/pointfree-lang/CHANGELOG.md
index a508034f83..c1ac3d5721 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.4.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.4.26...@thi.ng/pointfree-lang@1.4.27) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/pointfree-lang
+
+
+
+
+
## [1.4.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree-lang@1.4.25...@thi.ng/pointfree-lang@1.4.26) (2021-03-12)
**Note:** Version bump only for package @thi.ng/pointfree-lang
diff --git a/packages/pointfree-lang/package.json b/packages/pointfree-lang/package.json
index 3c2291d68a..6de4fec084 100644
--- a/packages/pointfree-lang/package.json
+++ b/packages/pointfree-lang/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pointfree-lang",
- "version": "1.4.26",
+ "version": "1.4.27",
"description": "Forth style syntax layer/compiler & CLI for the @thi.ng/pointfree DSL",
"module": "./index.js",
"main": "./lib/index.js",
@@ -55,8 +55,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/bench": "^2.1.0",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/pointfree": "^2.0.27",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/pointfree": "^2.0.28",
"commander": "^6.2.0"
},
"files": [
diff --git a/packages/pointfree/CHANGELOG.md b/packages/pointfree/CHANGELOG.md
index 4bbde16de1..0fda7e67a5 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.
+## [2.0.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@2.0.27...@thi.ng/pointfree@2.0.28) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/pointfree
+
+
+
+
+
## [2.0.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/pointfree@2.0.26...@thi.ng/pointfree@2.0.27) (2021-03-12)
**Note:** Version bump only for package @thi.ng/pointfree
diff --git a/packages/pointfree/package.json b/packages/pointfree/package.json
index 7685360262..44bcbd7e54 100644
--- a/packages/pointfree/package.json
+++ b/packages/pointfree/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/pointfree",
- "version": "2.0.27",
+ "version": "2.0.28",
"description": "Pointfree functional composition / Forth style stack execution engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,9 +51,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/compose": "^1.4.29",
+ "@thi.ng/compose": "^1.4.30",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/poisson/CHANGELOG.md b/packages/poisson/CHANGELOG.md
index cafee73ad7..05ddcf3540 100644
--- a/packages/poisson/CHANGELOG.md
+++ b/packages/poisson/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [1.1.35](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@1.1.34...@thi.ng/poisson@1.1.35) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/poisson
+
+
+
+
+
## [1.1.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/poisson@1.1.33...@thi.ng/poisson@1.1.34) (2021-03-12)
**Note:** Version bump only for package @thi.ng/poisson
diff --git a/packages/poisson/package.json b/packages/poisson/package.json
index 139eaa16eb..a4be9ce8d4 100644
--- a/packages/poisson/package.json
+++ b/packages/poisson/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/poisson",
- "version": "1.1.34",
+ "version": "1.1.35",
"description": "nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,10 +51,10 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-api": "^2.0.12",
+ "@thi.ng/geom-api": "^2.0.13",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/porter-duff/CHANGELOG.md b/packages/porter-duff/CHANGELOG.md
index ef81eb073a..5e64062271 100644
--- a/packages/porter-duff/CHANGELOG.md
+++ b/packages/porter-duff/CHANGELOG.md
@@ -3,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.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/porter-duff@0.1.43...@thi.ng/porter-duff@0.1.44) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/porter-duff
+
+
+
+
+
## [0.1.43](https://github.com/thi-ng/umbrella/compare/@thi.ng/porter-duff@0.1.42...@thi.ng/porter-duff@0.1.43) (2021-03-12)
**Note:** Version bump only for package @thi.ng/porter-duff
diff --git a/packages/porter-duff/package.json b/packages/porter-duff/package.json
index 86e1891d8b..b6cb7ae9ec 100644
--- a/packages/porter-duff/package.json
+++ b/packages/porter-duff/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/porter-duff",
- "version": "0.1.43",
+ "version": "0.1.44",
"description": "Porter-Duff operators for packed ints & float-array alpha compositing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/math": "^3.2.5"
+ "@thi.ng/math": "^3.3.0"
},
"files": [
"*.js",
diff --git a/packages/ramp/CHANGELOG.md b/packages/ramp/CHANGELOG.md
index e4589182d0..bd83eb458d 100644
--- a/packages/ramp/CHANGELOG.md
+++ b/packages/ramp/CHANGELOG.md
@@ -3,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.53](https://github.com/thi-ng/umbrella/compare/@thi.ng/ramp@0.1.52...@thi.ng/ramp@0.1.53) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/ramp
+
+
+
+
+
## [0.1.52](https://github.com/thi-ng/umbrella/compare/@thi.ng/ramp@0.1.51...@thi.ng/ramp@0.1.52) (2021-03-12)
**Note:** Version bump only for package @thi.ng/ramp
diff --git a/packages/ramp/package.json b/packages/ramp/package.json
index 0d0778fd23..b4cffad620 100644
--- a/packages/ramp/package.json
+++ b/packages/ramp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/ramp",
- "version": "0.1.52",
+ "version": "0.1.53",
"description": "Parametric interpolated 1D lookup tables for remapping values",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,11 +49,11 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/compare": "^1.3.28",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/range-coder/CHANGELOG.md b/packages/range-coder/CHANGELOG.md
index 7d07a162e0..79e8e4609b 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.76](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.75...@thi.ng/range-coder@1.0.76) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/range-coder
+
+
+
+
+
## [1.0.75](https://github.com/thi-ng/umbrella/compare/@thi.ng/range-coder@1.0.74...@thi.ng/range-coder@1.0.75) (2021-03-12)
**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 fe9f530612..9b4eb6afef 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.75",
+ "version": "1.0.76",
"description": "Binary data range encoder / decoder",
"module": "./index.js",
"main": "./lib/index.js",
@@ -40,7 +40,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.13.1",
- "@thi.ng/transducers": "^7.6.6",
+ "@thi.ng/transducers": "^7.6.7",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"mocha": "^8.3.0",
@@ -50,7 +50,7 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/bitstream": "^1.1.37"
+ "@thi.ng/bitstream": "^1.1.38"
},
"files": [
"*.js",
diff --git a/packages/rdom-canvas/CHANGELOG.md b/packages/rdom-canvas/CHANGELOG.md
index 0e2fdd99c6..8d1d0b1d3e 100644
--- a/packages/rdom-canvas/CHANGELOG.md
+++ b/packages/rdom-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.1.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.1.36...@thi.ng/rdom-canvas@0.1.37) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rdom-canvas
+
+
+
+
+
## [0.1.36](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.1.35...@thi.ng/rdom-canvas@0.1.36) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rdom-canvas
diff --git a/packages/rdom-canvas/package.json b/packages/rdom-canvas/package.json
index bc217a93df..4ae27622f0 100644
--- a/packages/rdom-canvas/package.json
+++ b/packages/rdom-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rdom-canvas",
- "version": "0.1.36",
+ "version": "0.1.37",
"description": "@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,10 +51,10 @@
"@thi.ng/adapt-dpi": "^1.0.19",
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/hiccup-canvas": "^1.1.28",
- "@thi.ng/rdom": "^0.4.5",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/hiccup-canvas": "^1.1.29",
+ "@thi.ng/rdom": "^0.4.6",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rdom-components/CHANGELOG.md b/packages/rdom-components/CHANGELOG.md
index 9b8aeab02a..999fb910b4 100644
--- a/packages/rdom-components/CHANGELOG.md
+++ b/packages/rdom-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.
+## [0.1.34](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.1.33...@thi.ng/rdom-components@0.1.34) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rdom-components
+
+
+
+
+
## [0.1.33](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-components@0.1.32...@thi.ng/rdom-components@0.1.33) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rdom-components
diff --git a/packages/rdom-components/package.json b/packages/rdom-components/package.json
index 364fbcc418..18c3e552a1 100644
--- a/packages/rdom-components/package.json
+++ b/packages/rdom-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rdom-components",
- "version": "0.1.33",
+ "version": "0.1.34",
"description": "Collection of unstyled, customizable components for @thi.ng/rdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,12 +49,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/hiccup-html": "^0.3.17",
- "@thi.ng/rdom": "^0.4.5",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/rdom": "^0.4.6",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rdom/CHANGELOG.md b/packages/rdom/CHANGELOG.md
index 9727061c0b..770fcbff03 100644
--- a/packages/rdom/CHANGELOG.md
+++ b/packages/rdom/CHANGELOG.md
@@ -3,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.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom@0.4.5...@thi.ng/rdom@0.4.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rdom
+
+
+
+
+
## [0.4.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom@0.4.4...@thi.ng/rdom@0.4.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rdom
diff --git a/packages/rdom/package.json b/packages/rdom/package.json
index e9d2c3da87..649b0b18b2 100644
--- a/packages/rdom/package.json
+++ b/packages/rdom/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rdom",
- "version": "0.4.5",
+ "version": "0.4.6",
"description": "Lightweight, reactive, VDOM-less UI/DOM components with async lifecycle and @thi.ng/hiccup compatible",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,12 +51,12 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/paths": "^4.2.5",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/paths": "^4.2.6",
"@thi.ng/prefixes": "^0.1.17",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/strings": "^1.15.5"
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/strings": "^1.15.6"
},
"files": [
"*.js",
diff --git a/packages/resolve-map/CHANGELOG.md b/packages/resolve-map/CHANGELOG.md
index 7e4e248529..c423f21d96 100644
--- a/packages/resolve-map/CHANGELOG.md
+++ b/packages/resolve-map/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [4.2.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.2.18...@thi.ng/resolve-map@4.2.19) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/resolve-map
+
+
+
+
+
## [4.2.18](https://github.com/thi-ng/umbrella/compare/@thi.ng/resolve-map@4.2.17...@thi.ng/resolve-map@4.2.18) (2021-03-12)
**Note:** Version bump only for package @thi.ng/resolve-map
diff --git a/packages/resolve-map/package.json b/packages/resolve-map/package.json
index 6fa118a0c3..a2324ecbe8 100644
--- a/packages/resolve-map/package.json
+++ b/packages/resolve-map/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/resolve-map",
- "version": "4.2.18",
+ "version": "4.2.19",
"description": "DAG resolution of vanilla objects & arrays with internally linked values",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/paths": "^4.2.5"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/paths": "^4.2.6"
},
"files": [
"*.js",
diff --git a/packages/rle-pack/CHANGELOG.md b/packages/rle-pack/CHANGELOG.md
index 5b2a4c02d2..bc71ff8f0f 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.38](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.1.37...@thi.ng/rle-pack@2.1.38) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rle-pack
+
+
+
+
+
## [2.1.37](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.1.36...@thi.ng/rle-pack@2.1.37) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rle-pack
diff --git a/packages/rle-pack/package.json b/packages/rle-pack/package.json
index 6ebfa22a7f..7ff5b4c942 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.37",
+ "version": "2.1.38",
"description": "Binary run-length encoding packer w/ flexible repeat bit widths",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/bitstream": "^1.1.37",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/bitstream": "^1.1.38",
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md
index 683c0e80bb..0913d792e1 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.46](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@2.0.45...@thi.ng/router@2.0.46) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/router
+
+
+
+
+
## [2.0.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/router@2.0.44...@thi.ng/router@2.0.45) (2021-03-12)
**Note:** Version bump only for package @thi.ng/router
diff --git a/packages/router/package.json b/packages/router/package.json
index f55c5b9e0d..b2755bdb04 100644
--- a/packages/router/package.json
+++ b/packages/router/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/router",
- "version": "2.0.45",
+ "version": "2.0.46",
"description": "Generic router for browser & non-browser based applications",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,7 +52,7 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/errors": "^1.3.0",
"tslib": "^2.1.0"
},
"files": [
diff --git a/packages/rstream-csp/CHANGELOG.md b/packages/rstream-csp/CHANGELOG.md
index 5967eee8c2..03be26dda0 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.
+## [2.0.60](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@2.0.59...@thi.ng/rstream-csp@2.0.60) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-csp
+
+
+
+
+
## [2.0.59](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-csp@2.0.58...@thi.ng/rstream-csp@2.0.59) (2021-03-12)
**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 7db24a8ff4..e6a765bebe 100644
--- a/packages/rstream-csp/package.json
+++ b/packages/rstream-csp/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-csp",
- "version": "2.0.59",
+ "version": "2.0.60",
"description": "@thi.ng/csp bridge module for @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,8 +49,8 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/csp": "^1.1.56",
- "@thi.ng/rstream": "^6.0.0"
+ "@thi.ng/csp": "^1.1.57",
+ "@thi.ng/rstream": "^6.0.1"
},
"files": [
"*.js",
diff --git a/packages/rstream-dot/CHANGELOG.md b/packages/rstream-dot/CHANGELOG.md
index 137df74fc4..d7afe01e01 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.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.2.6...@thi.ng/rstream-dot@1.2.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-dot
+
+
+
+
+
## [1.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.2.5...@thi.ng/rstream-dot@1.2.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rstream-dot
diff --git a/packages/rstream-dot/package.json b/packages/rstream-dot/package.json
index 8fbf50ffc3..5c615a42e2 100644
--- a/packages/rstream-dot/package.json
+++ b/packages/rstream-dot/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-dot",
- "version": "1.2.6",
+ "version": "1.2.7",
"description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,9 +49,9 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rstream-gestures/CHANGELOG.md b/packages/rstream-gestures/CHANGELOG.md
index 5431087a85..a07673829b 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.
+## [3.0.14](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@3.0.13...@thi.ng/rstream-gestures@3.0.14) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-gestures
+
+
+
+
+
## [3.0.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-gestures@3.0.12...@thi.ng/rstream-gestures@3.0.13) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rstream-gestures
diff --git a/packages/rstream-gestures/package.json b/packages/rstream-gestures/package.json
index 86215986e5..70bdea540e 100644
--- a/packages/rstream-gestures/package.json
+++ b/packages/rstream-gestures/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-gestures",
- "version": "3.0.13",
+ "version": "3.0.14",
"description": "Unified mouse, mouse wheel & multi-touch event stream abstraction",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,9 +51,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rstream-graph/CHANGELOG.md b/packages/rstream-graph/CHANGELOG.md
index a72366541a..ad270294b6 100644
--- a/packages/rstream-graph/CHANGELOG.md
+++ b/packages/rstream-graph/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [3.2.61](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.2.60...@thi.ng/rstream-graph@3.2.61) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-graph
+
+
+
+
+
## [3.2.60](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-graph@3.2.59...@thi.ng/rstream-graph@3.2.60) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rstream-graph
diff --git a/packages/rstream-graph/package.json b/packages/rstream-graph/package.json
index c1b404e222..56265b6867 100644
--- a/packages/rstream-graph/package.json
+++ b/packages/rstream-graph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-graph",
- "version": "3.2.60",
+ "version": "3.2.61",
"description": "Declarative dataflow graph construction for @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,13 +50,13 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/atom": "^4.1.33",
+ "@thi.ng/atom": "^4.1.34",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/paths": "^4.2.5",
- "@thi.ng/resolve-map": "^4.2.18",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/paths": "^4.2.6",
+ "@thi.ng/resolve-map": "^4.2.19",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rstream-log-file/CHANGELOG.md b/packages/rstream-log-file/CHANGELOG.md
index 3b936d7507..ff3b116ac9 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.82](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log-file@0.1.81...@thi.ng/rstream-log-file@0.1.82) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-log-file
+
+
+
+
+
## [0.1.81](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log-file@0.1.80...@thi.ng/rstream-log-file@0.1.81) (2021-03-12)
**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 6c929d0d34..c2f65fa91d 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.81",
+ "version": "0.1.82",
"description": "File output handler for structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,7 +49,7 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/rstream": "^6.0.0"
+ "@thi.ng/rstream": "^6.0.1"
},
"files": [
"*.js",
diff --git a/packages/rstream-log/CHANGELOG.md b/packages/rstream-log/CHANGELOG.md
index 19684a96d1..9274417f6e 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.2.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@3.2.10...@thi.ng/rstream-log@3.2.11) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-log
+
+
+
+
+
## [3.2.10](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-log@3.2.9...@thi.ng/rstream-log@3.2.10) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rstream-log
diff --git a/packages/rstream-log/package.json b/packages/rstream-log/package.json
index 3e7acfc974..551744fe59 100644
--- a/packages/rstream-log/package.json
+++ b/packages/rstream-log/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream-log",
- "version": "3.2.10",
+ "version": "3.2.11",
"description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,10 +51,10 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rstream-query/CHANGELOG.md b/packages/rstream-query/CHANGELOG.md
index b550e8bfd0..af76e44856 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.67](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.1.66...@thi.ng/rstream-query@1.1.67) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream-query
+
+
+
+
+
## [1.1.66](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-query@1.1.65...@thi.ng/rstream-query@1.1.66) (2021-03-12)
**Note:** Version bump only for package @thi.ng/rstream-query
diff --git a/packages/rstream-query/package.json b/packages/rstream-query/package.json
index c1409e645e..dbf9ba8327 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.66",
+ "version": "1.1.67",
"description": "@thi.ng/rstream based triple store & reactive query engine",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,14 +50,14 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/rstream": "^6.0.0",
- "@thi.ng/rstream-dot": "^1.2.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/rstream": "^6.0.1",
+ "@thi.ng/rstream-dot": "^1.2.7",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/rstream/CHANGELOG.md b/packages/rstream/CHANGELOG.md
index f328f62644..bd3311ff47 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.
+## [6.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@6.0.0...@thi.ng/rstream@6.0.1) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/rstream
+
+
+
+
+
# [6.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream@5.1.7...@thi.ng/rstream@6.0.0) (2021-03-12)
diff --git a/packages/rstream/package.json b/packages/rstream/package.json
index 49519edf25..dab63742ca 100644
--- a/packages/rstream/package.json
+++ b/packages/rstream/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/rstream",
- "version": "6.0.0",
+ "version": "6.0.1",
"description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,12 +50,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
- "@thi.ng/associative": "^5.1.6",
- "@thi.ng/atom": "^4.1.33",
+ "@thi.ng/arrays": "^0.10.9",
+ "@thi.ng/associative": "^5.1.7",
+ "@thi.ng/atom": "^4.1.34",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/sax/CHANGELOG.md b/packages/sax/CHANGELOG.md
index 84b92666a2..ff0bdac1a4 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.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.1.55...@thi.ng/sax@1.1.56) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/sax
+
+
+
+
+
## [1.1.55](https://github.com/thi-ng/umbrella/compare/@thi.ng/sax@1.1.54...@thi.ng/sax@1.1.55) (2021-03-12)
**Note:** Version bump only for package @thi.ng/sax
diff --git a/packages/sax/package.json b/packages/sax/package.json
index 74089974f7..5ccbbbaebd 100644
--- a/packages/sax/package.json
+++ b/packages/sax/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/sax",
- "version": "1.1.55",
+ "version": "1.1.56",
"description": "Transducer-based, SAX-like, non-validating, speedy & tiny XML parser",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,8 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/transducers-fsm": "^1.1.55"
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/transducers-fsm": "^1.1.56"
},
"files": [
"*.js",
diff --git a/packages/scenegraph/CHANGELOG.md b/packages/scenegraph/CHANGELOG.md
index 9fe8af4068..3b39cd6656 100644
--- a/packages/scenegraph/CHANGELOG.md
+++ b/packages/scenegraph/CHANGELOG.md
@@ -3,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.25](https://github.com/thi-ng/umbrella/compare/@thi.ng/scenegraph@0.3.24...@thi.ng/scenegraph@0.3.25) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/scenegraph
+
+
+
+
+
## [0.3.24](https://github.com/thi-ng/umbrella/compare/@thi.ng/scenegraph@0.3.23...@thi.ng/scenegraph@0.3.24) (2021-03-12)
**Note:** Version bump only for package @thi.ng/scenegraph
diff --git a/packages/scenegraph/package.json b/packages/scenegraph/package.json
index 3a35289540..138f198dce 100644
--- a/packages/scenegraph/package.json
+++ b/packages/scenegraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/scenegraph",
- "version": "0.3.24",
+ "version": "0.3.25",
"description": "Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/matrices": "^0.6.50",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/matrices": "^0.6.51",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/sexpr/CHANGELOG.md b/packages/sexpr/CHANGELOG.md
index 3dff9804f7..7dddc82146 100644
--- a/packages/sexpr/CHANGELOG.md
+++ b/packages/sexpr/CHANGELOG.md
@@ -3,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.40](https://github.com/thi-ng/umbrella/compare/@thi.ng/sexpr@0.2.39...@thi.ng/sexpr@0.2.40) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/sexpr
+
+
+
+
+
## [0.2.39](https://github.com/thi-ng/umbrella/compare/@thi.ng/sexpr@0.2.38...@thi.ng/sexpr@0.2.39) (2021-03-12)
**Note:** Version bump only for package @thi.ng/sexpr
diff --git a/packages/sexpr/package.json b/packages/sexpr/package.json
index 670a00d5bc..6a1025eb72 100644
--- a/packages/sexpr/package.json
+++ b/packages/sexpr/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/sexpr",
- "version": "0.2.39",
+ "version": "0.2.40",
"description": "Extensible S-Expression parser & runtime infrastructure",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,7 +51,7 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10"
+ "@thi.ng/defmulti": "^1.3.11"
},
"files": [
"*.js",
diff --git a/packages/shader-ast-glsl/CHANGELOG.md b/packages/shader-ast-glsl/CHANGELOG.md
index c2aea05a66..3b49e3074a 100644
--- a/packages/shader-ast-glsl/CHANGELOG.md
+++ b/packages/shader-ast-glsl/CHANGELOG.md
@@ -3,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.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-glsl@0.2.27...@thi.ng/shader-ast-glsl@0.2.28) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-glsl
+
+
+
+
+
## [0.2.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-glsl@0.2.26...@thi.ng/shader-ast-glsl@0.2.27) (2021-03-12)
**Note:** Version bump only for package @thi.ng/shader-ast-glsl
diff --git a/packages/shader-ast-glsl/package.json b/packages/shader-ast-glsl/package.json
index 30eb6926cd..4fc974b2a2 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.2.27",
+ "version": "0.2.28",
"description": "Customizable GLSL codegen for @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,8 +51,8 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/shader-ast": "^0.8.5"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/shader-ast": "^0.8.6"
},
"files": [
"*.js",
diff --git a/packages/shader-ast-js/CHANGELOG.md b/packages/shader-ast-js/CHANGELOG.md
index 1ffd73c8be..47eac6941b 100644
--- a/packages/shader-ast-js/CHANGELOG.md
+++ b/packages/shader-ast-js/CHANGELOG.md
@@ -3,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.5.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-js@0.5.26...@thi.ng/shader-ast-js@0.5.27) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-js
+
+
+
+
+
## [0.5.26](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-js@0.5.25...@thi.ng/shader-ast-js@0.5.26) (2021-03-12)
**Note:** Version bump only for package @thi.ng/shader-ast-js
diff --git a/packages/shader-ast-js/package.json b/packages/shader-ast-js/package.json
index 36be947591..f0474b4dae 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.5.26",
+ "version": "0.5.27",
"description": "Customizable JS codegen, compiler & runtime for @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,12 +51,12 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/matrices": "^0.6.50",
- "@thi.ng/pixel": "^0.7.4",
- "@thi.ng/shader-ast": "^0.8.5",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/matrices": "^0.6.51",
+ "@thi.ng/pixel": "^0.8.0",
+ "@thi.ng/shader-ast": "^0.8.6",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/shader-ast-stdlib/CHANGELOG.md b/packages/shader-ast-stdlib/CHANGELOG.md
index b43affba29..4c418e56eb 100644
--- a/packages/shader-ast-stdlib/CHANGELOG.md
+++ b/packages/shader-ast-stdlib/CHANGELOG.md
@@ -3,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.5.20](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-stdlib@0.5.19...@thi.ng/shader-ast-stdlib@0.5.20) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/shader-ast-stdlib
+
+
+
+
+
## [0.5.19](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast-stdlib@0.5.18...@thi.ng/shader-ast-stdlib@0.5.19) (2021-03-12)
**Note:** Version bump only for package @thi.ng/shader-ast-stdlib
diff --git a/packages/shader-ast-stdlib/package.json b/packages/shader-ast-stdlib/package.json
index 4aa561ba36..3aa3ea932b 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.5.19",
+ "version": "0.5.20",
"description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/shader-ast": "^0.8.5"
+ "@thi.ng/shader-ast": "^0.8.6"
},
"files": [
"*.js",
diff --git a/packages/shader-ast/CHANGELOG.md b/packages/shader-ast/CHANGELOG.md
index 0108ae6460..76f98baebd 100644
--- a/packages/shader-ast/CHANGELOG.md
+++ b/packages/shader-ast/CHANGELOG.md
@@ -3,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.8.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast@0.8.5...@thi.ng/shader-ast@0.8.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/shader-ast
+
+
+
+
+
## [0.8.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/shader-ast@0.8.4...@thi.ng/shader-ast@0.8.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/shader-ast
diff --git a/packages/shader-ast/package.json b/packages/shader-ast/package.json
index 00dbe9197e..9c26f32bde 100644
--- a/packages/shader-ast/package.json
+++ b/packages/shader-ast/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/shader-ast",
- "version": "0.8.5",
+ "version": "0.8.6",
"description": "DSL to define shader code in TypeScript and cross-compile to GLSL, JS and other targets",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,9 +51,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/defmulti": "^1.3.10",
- "@thi.ng/dgraph": "^1.3.15",
- "@thi.ng/errors": "^1.2.32"
+ "@thi.ng/defmulti": "^1.3.11",
+ "@thi.ng/dgraph": "^1.3.16",
+ "@thi.ng/errors": "^1.3.0"
},
"files": [
"*.js",
diff --git a/packages/simd/CHANGELOG.md b/packages/simd/CHANGELOG.md
index 8553f8af44..66ce1bbc80 100644
--- a/packages/simd/CHANGELOG.md
+++ b/packages/simd/CHANGELOG.md
@@ -3,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.24](https://github.com/thi-ng/umbrella/compare/@thi.ng/simd@0.4.23...@thi.ng/simd@0.4.24) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/simd
+
+
+
+
+
## [0.4.23](https://github.com/thi-ng/umbrella/compare/@thi.ng/simd@0.4.22...@thi.ng/simd@0.4.23) (2021-03-12)
**Note:** Version bump only for package @thi.ng/simd
diff --git a/packages/simd/package.json b/packages/simd/package.json
index 5f679a70be..2eff64d1a4 100644
--- a/packages/simd/package.json
+++ b/packages/simd/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/simd",
- "version": "0.4.23",
+ "version": "0.4.24",
"description": "WASM based SIMD vector operations for batch processing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,7 +52,7 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/transducers-binary": "^0.6.12"
+ "@thi.ng/transducers-binary": "^0.6.13"
},
"files": [
"*.js",
diff --git a/packages/soa/CHANGELOG.md b/packages/soa/CHANGELOG.md
index 3ceb6b2085..efa8ec6d65 100644
--- a/packages/soa/CHANGELOG.md
+++ b/packages/soa/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/soa@0.2.6...@thi.ng/soa@0.2.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/soa
+
+
+
+
+
## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/soa@0.2.5...@thi.ng/soa@0.2.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/soa
diff --git a/packages/soa/README.md b/packages/soa/README.md
index eb8cb34183..ff5e01dead 100644
--- a/packages/soa/README.md
+++ b/packages/soa/README.md
@@ -73,12 +73,13 @@ yarn add @thi.ng/soa
```
-Package sizes (gzipped, pre-treeshake): ESM: 1.42 KB / CJS: 1.49 KB / UMD: 1.59 KB
+Package sizes (gzipped, pre-treeshake): ESM: 1.41 KB / CJS: 1.49 KB / UMD: 1.59 KB
## Dependencies
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
- [@thi.ng/binary](https://github.com/thi-ng/umbrella/tree/develop/packages/binary)
+- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
- [@thi.ng/transducers-binary](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers-binary)
- [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
diff --git a/packages/soa/package.json b/packages/soa/package.json
index 99c5f82f21..fb4050b512 100644
--- a/packages/soa/package.json
+++ b/packages/soa/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/soa",
- "version": "0.2.6",
+ "version": "0.2.7",
"description": "SOA & AOS memory mapped structured views with optional & extensible serialization",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,8 +52,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/transducers-binary": "^0.6.12",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers-binary": "^0.6.13",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/soa/src/soa.ts b/packages/soa/src/soa.ts
index d18bfaa995..b92013c7a3 100644
--- a/packages/soa/src/soa.ts
+++ b/packages/soa/src/soa.ts
@@ -1,4 +1,5 @@
import { assert, ILength, SIZEOF, TypedArray, typedArray } from "@thi.ng/api";
+import { ensureIndex } from "@thi.ng/errors";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";
import type { SOAAttribSpec, SOASpecs, SOATuple } from "./api";
import { prepareSpec } from "./utils";
@@ -20,8 +21,8 @@ export class SOA implements ILength {
}
*values(from = 0, to = this.length): IterableIterator> {
- this.ensureIndex(from);
- this.ensureIndex(to, from, this.length);
+ ensureIndex(from, 0, this.length);
+ ensureIndex(to, from, this.length + 1);
for (; from < to; from++) {
yield this.indexUnsafe(from);
}
@@ -29,8 +30,8 @@ export class SOA implements ILength {
attribValues(id: K, from = 0, to = this.length) {
this.ensureAttrib(id);
- this.ensureIndex(from);
- this.ensureIndex(to, from, this.length);
+ ensureIndex(from, 0, this.length);
+ ensureIndex(to, from, this.length + 1);
let { size, stride, type } = this.specs[id];
const buf = this.buffers[id].buffer;
stride! *= SIZEOF[type!];
@@ -45,7 +46,7 @@ export class SOA implements ILength {
attribValue(id: K, i: number): Vec {
this.ensureAttrib(id);
- this.ensureIndex(i);
+ ensureIndex(i, 0, this.length);
return this.attribValueUnsafe(id, i);
}
@@ -57,7 +58,7 @@ export class SOA implements ILength {
setAttribValue(id: K, i: number, val: ReadonlyVec) {
this.ensureAttrib(id);
- this.ensureIndex(i);
+ ensureIndex(i, 0, this.length);
const spec = this.specs[id];
assert(val.length <= spec.size!, `${id} value too large`);
this.buffers[id].set(val, i * spec.stride!);
@@ -70,7 +71,7 @@ export class SOA implements ILength {
setAttribValues(id: K, vals: Iterable, from = 0) {
this.ensureAttrib(id);
- this.ensureIndex(from);
+ ensureIndex(from, 0, this.length);
const buf = this.buffers[id];
const stride = this.specs[id].stride!;
const end = this.length * stride;
@@ -86,7 +87,7 @@ export class SOA implements ILength {
index(i: number): SOATuple;
index(i: number, ids: ID[]): SOATuple;
index(i: number, ids?: K[]): any {
- this.ensureIndex(i);
+ ensureIndex(i, 0, this.length);
return this.indexUnsafe(i, ids!);
}
@@ -108,7 +109,7 @@ export class SOA implements ILength {
}
setIndex(i: number, vals: Partial>) {
- this.ensureIndex(i);
+ ensureIndex(i, 0, this.length);
for (let id in vals) {
this.setAttribValue(id, i, vals[id]!);
}
@@ -136,11 +137,11 @@ export class SOA implements ILength {
srcFrom = 0,
srcTo = this.length
) {
- this.ensureIndex(srcFrom);
- this.ensureIndex(srcTo, srcFrom, this.length);
+ ensureIndex(srcFrom, 0, this.length);
+ ensureIndex(srcTo, srcFrom, this.length + 1);
const num = srcTo - srcFrom;
- dest.ensureIndex(destFrom);
- dest.ensureIndex(destFrom + num, destFrom, dest.length);
+ ensureIndex(destFrom, 0, dest.length);
+ ensureIndex(destFrom + num, destFrom, dest.length + 1);
ids = ids || Object.keys(this.specs);
for (let k = ids.length; --k >= 0; ) {
const id = ids[k];
@@ -189,10 +190,6 @@ export class SOA implements ILength {
protected ensureAttrib(id: K) {
assert(!!this.specs[id], `invalid attrib ${id}`);
}
-
- protected ensureIndex(i: number, min = 0, max = this.length - 1) {
- assert(i >= min && i <= max, `index out of bounds: ${i}`);
- }
}
export const soa = (num: number, specs: SOASpecs) =>
diff --git a/packages/sparse/CHANGELOG.md b/packages/sparse/CHANGELOG.md
index 138fd0239b..553e589439 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.72](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.71...@thi.ng/sparse@0.1.72) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/sparse
+
+
+
+
+
## [0.1.71](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.70...@thi.ng/sparse@0.1.71) (2021-03-12)
**Note:** Version bump only for package @thi.ng/sparse
diff --git a/packages/sparse/README.md b/packages/sparse/README.md
index 986f0c862a..9cd8dd34d4 100644
--- a/packages/sparse/README.md
+++ b/packages/sparse/README.md
@@ -41,11 +41,12 @@ yarn add @thi.ng/sparse
```
-Package sizes (gzipped, pre-treeshake): ESM: 3.57 KB / CJS: 3.67 KB / UMD: 3.73 KB
+Package sizes (gzipped, pre-treeshake): ESM: 3.54 KB / CJS: 3.64 KB / UMD: 3.71 KB
## Dependencies
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
+- [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
## API
diff --git a/packages/sparse/package.json b/packages/sparse/package.json
index da566e5ab0..3c4be3fb52 100644
--- a/packages/sparse/package.json
+++ b/packages/sparse/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/sparse",
- "version": "0.1.71",
+ "version": "0.1.72",
"description": "Sparse vector & matrix implementations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,8 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/sparse/src/amatrix.ts b/packages/sparse/src/amatrix.ts
index d99450e2e4..e1f123b4b6 100644
--- a/packages/sparse/src/amatrix.ts
+++ b/packages/sparse/src/amatrix.ts
@@ -41,13 +41,6 @@ export abstract class ASparseMatrix {
return trace;
}
- protected ensureIndex(m: number, n: number) {
- assert(
- m >= 0 && m < this.m && n >= 0 && n < this.n,
- `index out of bounds (${m}, ${n})`
- );
- }
-
protected ensureSize(mat: ASparseMatrix) {
assert(
mat.m === this.m && mat.n === this.n,
diff --git a/packages/sparse/src/coo.ts b/packages/sparse/src/coo.ts
index ec397bbac6..48c7d81672 100644
--- a/packages/sparse/src/coo.ts
+++ b/packages/sparse/src/coo.ts
@@ -1,3 +1,4 @@
+import { ensureIndex2 } from "@thi.ng/errors";
import { partition } from "@thi.ng/transducers";
import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
@@ -42,7 +43,7 @@ export class COO extends ASparseMatrix {
}
at(m: number, n: number, safe = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
const d = this.data;
for (let i = 0, l = d.length; i < l && d[i] <= m; i += 3) {
if (d[i] === m && d[i + 1] === n) {
@@ -53,7 +54,7 @@ export class COO extends ASparseMatrix {
}
setAt(m: number, n: number, v: number, safe = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
const d = this.data;
for (let i = 0, l = d.length; i < l; i += 3) {
const r = d[i];
diff --git a/packages/sparse/src/csc.ts b/packages/sparse/src/csc.ts
index 9ea5d16259..6f63e2cea0 100644
--- a/packages/sparse/src/csc.ts
+++ b/packages/sparse/src/csc.ts
@@ -1,4 +1,5 @@
import { assert } from "@thi.ng/api";
+import { ensureIndex2 } from "@thi.ng/errors";
import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { at, compress, diag, setAt } from "./compressed";
@@ -81,12 +82,12 @@ export class CSC extends ASparseMatrix {
}
at(m: number, n: number, safe = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
return at(n, m, this.cols, this.rows, this.data);
}
setAt(m: number, n: number, x: number, safe = true, compact = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
const state = setAt(
n,
m,
diff --git a/packages/sparse/src/csr.ts b/packages/sparse/src/csr.ts
index ed58b7fcfb..e2608eabfb 100644
--- a/packages/sparse/src/csr.ts
+++ b/packages/sparse/src/csr.ts
@@ -1,4 +1,5 @@
import { assert } from "@thi.ng/api";
+import { ensureIndex2 } from "@thi.ng/errors";
import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { at, compress, diag, remove, setAt } from "./compressed";
@@ -134,12 +135,12 @@ export class CSR extends ASparseMatrix {
}
at(m: number, n: number, safe = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
return at(m, n, this.rows, this.cols, this.data);
}
setAt(m: number, n: number, x: number, safe = true, compact = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
const state = setAt(
m,
n,
diff --git a/packages/sparse/src/diag.ts b/packages/sparse/src/diag.ts
index 7a211e0f20..e24590c07e 100644
--- a/packages/sparse/src/diag.ts
+++ b/packages/sparse/src/diag.ts
@@ -1,4 +1,5 @@
import { assert } from "@thi.ng/api";
+import { ensureIndex2 } from "@thi.ng/errors";
import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { CSC } from "./csc";
@@ -29,7 +30,7 @@ export class Diag extends ASparseMatrix {
}
at(m: number, n: number, safe = true) {
- safe && this.ensureIndex(m, n);
+ safe && ensureIndex2(m, n, this.m, this.n);
return m === n ? this.data.at(m, false) : 0;
}
diff --git a/packages/sparse/src/vec.ts b/packages/sparse/src/vec.ts
index d280f21ca3..87581d5d8f 100644
--- a/packages/sparse/src/vec.ts
+++ b/packages/sparse/src/vec.ts
@@ -1,4 +1,5 @@
import { assert, FnN2 } from "@thi.ng/api";
+import { ensureIndex } from "@thi.ng/errors";
import type { NzEntry } from "./api";
export type BinOp = FnN2;
@@ -47,7 +48,7 @@ export class SparseVec {
}
at(m: number, safe = true) {
- safe && this.ensureIndex(m);
+ safe && ensureIndex(m, 0, this.m);
const d = this.data;
for (let i = 0, n = d.length; i < n && d[i] <= m; i += 2) {
if (m === d[i]) {
@@ -58,7 +59,7 @@ export class SparseVec {
}
setAt(m: number, v: number, safe = true) {
- safe && this.ensureIndex(m);
+ safe && ensureIndex(m, 0, this.m);
const d = this.data;
for (let i = 0, n = d.length; i < n; i += 2) {
if (m < d[i]) {
@@ -214,10 +215,6 @@ export class SparseVec {
return res;
}
- protected ensureIndex(m: number) {
- assert(m >= 0 && m < this.m, `index out of bounds: ${m}`);
- }
-
protected ensureSize(v: SparseVec) {
assert(this.m === v.m, `wrong vector size: ${v.m}`);
}
diff --git a/packages/strings/CHANGELOG.md b/packages/strings/CHANGELOG.md
index 43dbe83abe..a27f64b545 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.15.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.15.5...@thi.ng/strings@1.15.6) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/strings
+
+
+
+
+
## [1.15.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/strings@1.15.4...@thi.ng/strings@1.15.5) (2021-03-12)
**Note:** Version bump only for package @thi.ng/strings
diff --git a/packages/strings/package.json b/packages/strings/package.json
index 303db22f89..3ec78572e0 100644
--- a/packages/strings/package.json
+++ b/packages/strings/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/strings",
- "version": "1.15.5",
+ "version": "1.15.6",
"description": "Various string formatting & utility functions",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/errors": "^1.3.0",
"@thi.ng/hex": "^0.2.5",
"@thi.ng/memoize": "^2.1.14"
},
diff --git a/packages/system/CHANGELOG.md b/packages/system/CHANGELOG.md
index 1a3f2d2153..55fcaf5b2d 100644
--- a/packages/system/CHANGELOG.md
+++ b/packages/system/CHANGELOG.md
@@ -3,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.45](https://github.com/thi-ng/umbrella/compare/@thi.ng/system@0.2.44...@thi.ng/system@0.2.45) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/system
+
+
+
+
+
## [0.2.44](https://github.com/thi-ng/umbrella/compare/@thi.ng/system@0.2.43...@thi.ng/system@0.2.44) (2021-03-12)
**Note:** Version bump only for package @thi.ng/system
diff --git a/packages/system/package.json b/packages/system/package.json
index f214c03251..fefd304eb2 100644
--- a/packages/system/package.json
+++ b/packages/system/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/system",
- "version": "0.2.44",
+ "version": "0.2.45",
"description": "Minimal DI / life cycle container for stateful app components",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/dgraph": "^1.3.15"
+ "@thi.ng/dgraph": "^1.3.16"
},
"files": [
"*.js",
diff --git a/packages/text-canvas/CHANGELOG.md b/packages/text-canvas/CHANGELOG.md
index 0b6e391bdc..ed84ddd0e7 100644
--- a/packages/text-canvas/CHANGELOG.md
+++ b/packages/text-canvas/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [0.4.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/text-canvas@0.4.11...@thi.ng/text-canvas@0.4.12) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/text-canvas
+
+
+
+
+
## [0.4.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/text-canvas@0.4.10...@thi.ng/text-canvas@0.4.11) (2021-03-12)
**Note:** Version bump only for package @thi.ng/text-canvas
diff --git a/packages/text-canvas/package.json b/packages/text-canvas/package.json
index 1ce7a874e3..4c871be275 100644
--- a/packages/text-canvas/package.json
+++ b/packages/text-canvas/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/text-canvas",
- "version": "0.4.11",
+ "version": "0.4.12",
"description": "Text based canvas, drawing, tables with arbitrary formatting (incl. ANSI/HTML)",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,13 +50,13 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/geom-clip-line": "^1.2.26",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/geom-clip-line": "^1.2.27",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/memoize": "^2.1.14",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers-binary/CHANGELOG.md b/packages/transducers-binary/CHANGELOG.md
index 6b54f8480c..649e498755 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.6.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.6.12...@thi.ng/transducers-binary@0.6.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers-binary
+
+
+
+
+
## [0.6.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-binary@0.6.11...@thi.ng/transducers-binary@0.6.12) (2021-03-12)
**Note:** Version bump only for package @thi.ng/transducers-binary
diff --git a/packages/transducers-binary/package.json b/packages/transducers-binary/package.json
index 0a85bf1e37..9e5c779516 100644
--- a/packages/transducers-binary/package.json
+++ b/packages/transducers-binary/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers-binary",
- "version": "0.6.12",
+ "version": "0.6.13",
"description": "Binary data related transducers & reducers",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,11 +50,11 @@
},
"dependencies": {
"@thi.ng/binary": "^2.2.4",
- "@thi.ng/compose": "^1.4.29",
- "@thi.ng/errors": "^1.2.32",
+ "@thi.ng/compose": "^1.4.30",
+ "@thi.ng/errors": "^1.3.0",
"@thi.ng/hex": "^0.2.5",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers-fsm/CHANGELOG.md b/packages/transducers-fsm/CHANGELOG.md
index fd4753a4b9..29e1ccfaad 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.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.1.55...@thi.ng/transducers-fsm@1.1.56) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers-fsm
+
+
+
+
+
## [1.1.55](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-fsm@1.1.54...@thi.ng/transducers-fsm@1.1.55) (2021-03-12)
**Note:** Version bump only for package @thi.ng/transducers-fsm
diff --git a/packages/transducers-fsm/package.json b/packages/transducers-fsm/package.json
index 3e3a3ef92d..95182843e5 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.55",
+ "version": "1.1.56",
"description": "Transducer-based Finite State Machine transformer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers-hdom/CHANGELOG.md b/packages/transducers-hdom/CHANGELOG.md
index f81be07434..49792a0002 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.88](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.87...@thi.ng/transducers-hdom@2.0.88) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers-hdom
+
+
+
+
+
## [2.0.87](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-hdom@2.0.86...@thi.ng/transducers-hdom@2.0.87) (2021-03-12)
**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 68d9ecfd34..557e3377da 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.87",
+ "version": "2.0.88",
"description": "Transducer based UI updater for @thi.ng/hdom",
"module": "./index.js",
"main": "./lib/index.js",
@@ -49,9 +49,9 @@
"typescript": "^4.2.3"
},
"dependencies": {
- "@thi.ng/hdom": "^8.2.23",
- "@thi.ng/hiccup": "^3.6.13",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/hdom": "^8.2.24",
+ "@thi.ng/hiccup": "^3.6.14",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers-patch/CHANGELOG.md b/packages/transducers-patch/CHANGELOG.md
index 5e8e37d467..3e24605ac2 100644
--- a/packages/transducers-patch/CHANGELOG.md
+++ b/packages/transducers-patch/CHANGELOG.md
@@ -3,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.13](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.2.12...@thi.ng/transducers-patch@0.2.13) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers-patch
+
+
+
+
+
## [0.2.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-patch@0.2.11...@thi.ng/transducers-patch@0.2.12) (2021-03-12)
**Note:** Version bump only for package @thi.ng/transducers-patch
diff --git a/packages/transducers-patch/package.json b/packages/transducers-patch/package.json
index 68c3562154..1b355c9b6c 100644
--- a/packages/transducers-patch/package.json
+++ b/packages/transducers-patch/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers-patch",
- "version": "0.2.12",
+ "version": "0.2.13",
"description": "Reducers for patch-based, immutable-by-default array & object editing",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,9 +51,9 @@
"dependencies": {
"@thi.ng/api": "^7.1.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/paths": "^4.2.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/paths": "^4.2.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers-stats/CHANGELOG.md b/packages/transducers-stats/CHANGELOG.md
index 0c57fc47de..c8bee8985d 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.57](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.1.56...@thi.ng/transducers-stats@1.1.57) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers-stats
+
+
+
+
+
## [1.1.56](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers-stats@1.1.55...@thi.ng/transducers-stats@1.1.56) (2021-03-12)
**Note:** Version bump only for package @thi.ng/transducers-stats
diff --git a/packages/transducers-stats/package.json b/packages/transducers-stats/package.json
index fa3fb306f5..547a331054 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.56",
+ "version": "1.1.57",
"description": "Transducers for statistical / technical analysis",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,9 +50,9 @@
},
"dependencies": {
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/dcons": "^2.3.16",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/dcons": "^2.3.17",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/transducers/CHANGELOG.md b/packages/transducers/CHANGELOG.md
index 6f4c9273d1..18200d06ac 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.
+## [7.6.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@7.6.6...@thi.ng/transducers@7.6.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/transducers
+
+
+
+
+
## [7.6.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@7.6.5...@thi.ng/transducers@7.6.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/transducers
diff --git a/packages/transducers/package.json b/packages/transducers/package.json
index 596384037f..3cad2a7640 100644
--- a/packages/transducers/package.json
+++ b/packages/transducers/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/transducers",
- "version": "7.6.6",
+ "version": "7.6.7",
"description": "Lightweight transducer implementations for ES6 / TypeScript",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,12 +50,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/compare": "^1.3.28",
- "@thi.ng/compose": "^1.4.29",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/compose": "^1.4.30",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/random": "^2.3.6"
},
"files": [
diff --git a/packages/vector-pools/CHANGELOG.md b/packages/vector-pools/CHANGELOG.md
index d67010e90f..7f7651d6d8 100644
--- a/packages/vector-pools/CHANGELOG.md
+++ b/packages/vector-pools/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@2.0.6...@thi.ng/vector-pools@2.0.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/vector-pools
+
+
+
+
+
## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/vector-pools@2.0.5...@thi.ng/vector-pools@2.0.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/vector-pools
diff --git a/packages/vector-pools/package.json b/packages/vector-pools/package.json
index 4c4a517677..e27599837d 100644
--- a/packages/vector-pools/package.json
+++ b/packages/vector-pools/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/vector-pools",
- "version": "2.0.6",
+ "version": "2.0.7",
"description": "Data structures for managing & working with strided, memory mapped vectors",
"module": "./index.js",
"main": "./lib/index.js",
@@ -52,9 +52,9 @@
"@thi.ng/api": "^7.1.4",
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/malloc": "^5.0.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/malloc": "^5.0.6",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/vectors/CHANGELOG.md b/packages/vectors/CHANGELOG.md
index c0a1cbf261..a4f60b46e5 100644
--- a/packages/vectors/CHANGELOG.md
+++ b/packages/vectors/CHANGELOG.md
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+## [5.1.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@5.1.4...@thi.ng/vectors@5.1.5) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/vectors
+
+
+
+
+
## [5.1.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/vectors@5.1.3...@thi.ng/vectors@5.1.4) (2021-03-12)
**Note:** Version bump only for package @thi.ng/vectors
diff --git a/packages/vectors/package.json b/packages/vectors/package.json
index e770541520..e907b71a7b 100644
--- a/packages/vectors/package.json
+++ b/packages/vectors/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/vectors",
- "version": "5.1.4",
+ "version": "5.1.5",
"description": "Optimized 2d/3d/4d and arbitrary length vector operations",
"module": "./index.js",
"main": "./lib/index.js",
@@ -53,11 +53,11 @@
"@thi.ng/binary": "^2.2.4",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/math": "^3.2.5",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/math": "^3.3.0",
"@thi.ng/memoize": "^2.1.14",
"@thi.ng/random": "^2.3.6",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/viz/CHANGELOG.md b/packages/viz/CHANGELOG.md
index 18cbd4e09f..22e1c4d207 100644
--- a/packages/viz/CHANGELOG.md
+++ b/packages/viz/CHANGELOG.md
@@ -3,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.17](https://github.com/thi-ng/umbrella/compare/@thi.ng/viz@0.2.16...@thi.ng/viz@0.2.17) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/viz
+
+
+
+
+
## [0.2.16](https://github.com/thi-ng/umbrella/compare/@thi.ng/viz@0.2.15...@thi.ng/viz@0.2.16) (2021-03-12)
**Note:** Version bump only for package @thi.ng/viz
diff --git a/packages/viz/package.json b/packages/viz/package.json
index bd8f44b9ef..d36c36f369 100644
--- a/packages/viz/package.json
+++ b/packages/viz/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/viz",
- "version": "0.2.16",
+ "version": "0.2.17",
"description": "Declarative, functional & multi-format data visualization toolkit based around @thi.ng/hiccup",
"module": "./index.js",
"main": "./lib/index.js",
@@ -57,12 +57,12 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/arrays": "^0.10.9",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/checks": "^2.9.5",
- "@thi.ng/math": "^3.2.5",
- "@thi.ng/strings": "^1.15.5",
- "@thi.ng/transducers": "^7.6.6"
+ "@thi.ng/math": "^3.3.0",
+ "@thi.ng/strings": "^1.15.6",
+ "@thi.ng/transducers": "^7.6.7"
},
"files": [
"*.js",
diff --git a/packages/webgl-msdf/CHANGELOG.md b/packages/webgl-msdf/CHANGELOG.md
index afdebaff74..b601749349 100644
--- a/packages/webgl-msdf/CHANGELOG.md
+++ b/packages/webgl-msdf/CHANGELOG.md
@@ -3,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.80](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@0.1.79...@thi.ng/webgl-msdf@0.1.80) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/webgl-msdf
+
+
+
+
+
## [0.1.79](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@0.1.78...@thi.ng/webgl-msdf@0.1.79) (2021-03-12)
**Note:** Version bump only for package @thi.ng/webgl-msdf
diff --git a/packages/webgl-msdf/package.json b/packages/webgl-msdf/package.json
index 9f5b51398e..1761f6d6ff 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.79",
+ "version": "0.1.80",
"description": "Multi-channel SDF font rendering & basic text layout for WebGL",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,11 +50,11 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/shader-ast": "^0.8.5",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vector-pools": "^2.0.6",
- "@thi.ng/vectors": "^5.1.4",
- "@thi.ng/webgl": "^4.0.6"
+ "@thi.ng/shader-ast": "^0.8.6",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vector-pools": "^2.0.7",
+ "@thi.ng/vectors": "^5.1.5",
+ "@thi.ng/webgl": "^4.0.7"
},
"files": [
"*.js",
diff --git a/packages/webgl-shadertoy/CHANGELOG.md b/packages/webgl-shadertoy/CHANGELOG.md
index 4df5e0e705..44297f21ec 100644
--- a/packages/webgl-shadertoy/CHANGELOG.md
+++ b/packages/webgl-shadertoy/CHANGELOG.md
@@ -3,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.67](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.2.66...@thi.ng/webgl-shadertoy@0.2.67) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/webgl-shadertoy
+
+
+
+
+
## [0.2.66](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-shadertoy@0.2.65...@thi.ng/webgl-shadertoy@0.2.66) (2021-03-12)
**Note:** Version bump only for package @thi.ng/webgl-shadertoy
diff --git a/packages/webgl-shadertoy/package.json b/packages/webgl-shadertoy/package.json
index e741ca9a8c..e57ed896c7 100644
--- a/packages/webgl-shadertoy/package.json
+++ b/packages/webgl-shadertoy/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/webgl-shadertoy",
- "version": "0.2.66",
+ "version": "0.2.67",
"description": "Basic WebGL scaffolding for running interactive fragment shaders via @thi.ng/shader-ast",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,9 +50,9 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/shader-ast": "^0.8.5",
- "@thi.ng/shader-ast-glsl": "^0.2.27",
- "@thi.ng/webgl": "^4.0.6"
+ "@thi.ng/shader-ast": "^0.8.6",
+ "@thi.ng/shader-ast-glsl": "^0.2.28",
+ "@thi.ng/webgl": "^4.0.7"
},
"files": [
"*.js",
diff --git a/packages/webgl/CHANGELOG.md b/packages/webgl/CHANGELOG.md
index a6c3477d7e..bbc066acce 100644
--- a/packages/webgl/CHANGELOG.md
+++ b/packages/webgl/CHANGELOG.md
@@ -3,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.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl@4.0.6...@thi.ng/webgl@4.0.7) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/webgl
+
+
+
+
+
## [4.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl@4.0.5...@thi.ng/webgl@4.0.6) (2021-03-12)
**Note:** Version bump only for package @thi.ng/webgl
diff --git a/packages/webgl/package.json b/packages/webgl/package.json
index cdf713688a..85ffe443f7 100644
--- a/packages/webgl/package.json
+++ b/packages/webgl/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/webgl",
- "version": "4.0.6",
+ "version": "4.0.7",
"description": "WebGL & GLSL abstraction layer",
"module": "./index.js",
"main": "./lib/index.js",
@@ -51,19 +51,19 @@
"dependencies": {
"@thi.ng/adapt-dpi": "^1.0.19",
"@thi.ng/api": "^7.1.4",
- "@thi.ng/associative": "^5.1.6",
+ "@thi.ng/associative": "^5.1.7",
"@thi.ng/checks": "^2.9.5",
"@thi.ng/equiv": "^1.0.41",
- "@thi.ng/errors": "^1.2.32",
- "@thi.ng/matrices": "^0.6.50",
+ "@thi.ng/errors": "^1.3.0",
+ "@thi.ng/matrices": "^0.6.51",
"@thi.ng/memoize": "^2.1.14",
- "@thi.ng/pixel": "^0.7.4",
- "@thi.ng/shader-ast": "^0.8.5",
- "@thi.ng/shader-ast-glsl": "^0.2.27",
- "@thi.ng/shader-ast-stdlib": "^0.5.19",
- "@thi.ng/transducers": "^7.6.6",
- "@thi.ng/vector-pools": "^2.0.6",
- "@thi.ng/vectors": "^5.1.4"
+ "@thi.ng/pixel": "^0.8.0",
+ "@thi.ng/shader-ast": "^0.8.6",
+ "@thi.ng/shader-ast-glsl": "^0.2.28",
+ "@thi.ng/shader-ast-stdlib": "^0.5.20",
+ "@thi.ng/transducers": "^7.6.7",
+ "@thi.ng/vector-pools": "^2.0.7",
+ "@thi.ng/vectors": "^5.1.5"
},
"files": [
"*.js",
diff --git a/packages/zipper/CHANGELOG.md b/packages/zipper/CHANGELOG.md
index d0b411da16..eaad115160 100644
--- a/packages/zipper/CHANGELOG.md
+++ b/packages/zipper/CHANGELOG.md
@@ -3,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.43](https://github.com/thi-ng/umbrella/compare/@thi.ng/zipper@0.1.42...@thi.ng/zipper@0.1.43) (2021-03-17)
+
+**Note:** Version bump only for package @thi.ng/zipper
+
+
+
+
+
## [0.1.42](https://github.com/thi-ng/umbrella/compare/@thi.ng/zipper@0.1.41...@thi.ng/zipper@0.1.42) (2021-03-12)
**Note:** Version bump only for package @thi.ng/zipper
diff --git a/packages/zipper/package.json b/packages/zipper/package.json
index db1fc5bd47..408f7fa543 100644
--- a/packages/zipper/package.json
+++ b/packages/zipper/package.json
@@ -1,6 +1,6 @@
{
"name": "@thi.ng/zipper",
- "version": "0.1.42",
+ "version": "0.1.43",
"description": "Functional tree editing, manipulation & navigation",
"module": "./index.js",
"main": "./lib/index.js",
@@ -50,7 +50,7 @@
},
"dependencies": {
"@thi.ng/api": "^7.1.4",
- "@thi.ng/arrays": "^0.10.8",
+ "@thi.ng/arrays": "^0.10.9",
"@thi.ng/checks": "^2.9.5"
},
"files": [
diff --git a/yarn.lock b/yarn.lock
index 5f65c5e32f..afc296a766 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2807,10 +2807,10 @@ bluebird@^3.5.5:
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
-bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0:
- version "4.11.9"
- resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
- integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
+bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9:
+ version "4.12.0"
+ resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
+ integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
bn.js@^5.1.1:
version "5.1.3"
@@ -2860,7 +2860,7 @@ braces@^3.0.1, braces@~3.0.2:
dependencies:
fill-range "^7.0.1"
-brorand@^1.0.1:
+brorand@^1.0.1, brorand@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=
@@ -4216,17 +4216,17 @@ electron-to-chromium@^1.3.612:
integrity sha512-CI8L38UN2BEnqXw3/oRIQTmde0LiSeqWSRlPA42ZTYgJQ8fYenzAM2Z3ni+jtILTcrs5aiXZCGJ96Pm+3/yGyQ==
elliptic@^6.5.3:
- version "6.5.3"
- resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz#cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6"
- integrity sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==
+ version "6.5.4"
+ resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
+ integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
dependencies:
- bn.js "^4.4.0"
- brorand "^1.0.1"
+ bn.js "^4.11.9"
+ brorand "^1.1.0"
hash.js "^1.0.0"
- hmac-drbg "^1.0.0"
- inherits "^2.0.1"
- minimalistic-assert "^1.0.0"
- minimalistic-crypto-utils "^1.0.0"
+ hmac-drbg "^1.0.1"
+ inherits "^2.0.4"
+ minimalistic-assert "^1.0.1"
+ minimalistic-crypto-utils "^1.0.1"
emoji-regex@^8.0.0:
version "8.0.0"
@@ -5159,7 +5159,7 @@ hex-color-regex@^1.1.0:
resolved "https://registry.yarnpkg.com/hex-color-regex/-/hex-color-regex-1.1.0.tgz#4c06fccb4602fe2602b3c93df82d7e7dbf1a8a8e"
integrity sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==
-hmac-drbg@^1.0.0:
+hmac-drbg@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=
@@ -6551,7 +6551,7 @@ minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==
-minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
+minimalistic-crypto-utils@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=