@thi.ng/fuzzy-viz 2.1.7 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -164,4 +164,4 @@ If this project contributes to an academic publication, please cite it as:
164
164
 
165
165
  ## License
166
166
 
167
- © 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
167
+ © 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/fuzzy-viz",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "Visualization, instrumentation & introspection utils for @thi.ng/fuzzy",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,21 +34,21 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.3",
38
- "@thi.ng/fuzzy": "^2.1.3",
39
- "@thi.ng/hiccup": "^4.2.4",
40
- "@thi.ng/hiccup-svg": "^4.2.7",
41
- "@thi.ng/math": "^5.2.0",
42
- "@thi.ng/strings": "^3.3.1",
43
- "@thi.ng/text-canvas": "^2.2.7"
37
+ "@thi.ng/api": "^8.3.4",
38
+ "@thi.ng/fuzzy": "^2.1.4",
39
+ "@thi.ng/hiccup": "^4.2.5",
40
+ "@thi.ng/hiccup-svg": "^4.2.8",
41
+ "@thi.ng/math": "^5.3.0",
42
+ "@thi.ng/strings": "^3.3.2",
43
+ "@thi.ng/text-canvas": "^2.2.8"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.19.2",
47
- "@thi.ng/testament": "^0.2.3",
46
+ "@microsoft/api-extractor": "^7.19.4",
47
+ "@thi.ng/testament": "^0.2.4",
48
48
  "rimraf": "^3.0.2",
49
49
  "tools": "^0.0.1",
50
- "typedoc": "^0.22.10",
51
- "typescript": "^4.5.3"
50
+ "typedoc": "^0.22.13",
51
+ "typescript": "^4.6.2"
52
52
  },
53
53
  "keywords": [
54
54
  "area plot",
@@ -91,5 +91,5 @@
91
91
  "parent": "@thi.ng/fuzzy",
92
92
  "year": 2020
93
93
  },
94
- "gitHead": "1ba92c6b9509e74e509b4c0b875fc380a97bbbc1\n"
94
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
95
95
  }
package/strategy.d.ts CHANGED
@@ -46,8 +46,8 @@ import type { AsciiVizOpts, InstrumentFn, VizualizeVarOpts } from "./api.js";
46
46
  * strategy.clear();
47
47
  * ```
48
48
  *
49
- * @param strategy
50
- * @param instrument
49
+ * @param strategy -
50
+ * @param instrument -
51
51
  */
52
52
  export declare const instrumentStrategy: <T>(strategy: DefuzzStrategy, instrument: Fn3<import("@thi.ng/api").FnN, import("@thi.ng/api").Range, number, T>) => DefuzzStrategy & IClear & IDeref<T[]>;
53
53
  export declare const fuzzySetToHiccup: (opts?: Partial<VizualizeVarOpts> | undefined) => InstrumentFn<any[]>;
package/strategy.js CHANGED
@@ -50,8 +50,8 @@ import { varToHiccup } from "./var.js";
50
50
  * strategy.clear();
51
51
  * ```
52
52
  *
53
- * @param strategy
54
- * @param instrument
53
+ * @param strategy -
54
+ * @param instrument -
55
55
  */
56
56
  export const instrumentStrategy = (strategy, instrument) => {
57
57
  const acc = [];
package/var.d.ts CHANGED
@@ -6,8 +6,8 @@ import type { VizualizeVarOpts } from "./api.js";
6
6
  * polygons. Returns a {@link @thi.ng/hiccup-canvas#} compatible shape component
7
7
  * tree.
8
8
  *
9
- * @param var
10
- * @param opts
9
+ * @param var -
10
+ * @param opts -
11
11
  */
12
12
  export declare const varToHiccup: ({ domain: [min, max], terms }: LVar<any>, opts?: Partial<VizualizeVarOpts>) => any[];
13
13
  /**
@@ -15,7 +15,7 @@ export declare const varToHiccup: ({ domain: [min, max], terms }: LVar<any>, opt
15
15
  * actual SVG string.
16
16
  *
17
17
  * @param $var
18
- * @param opts
18
+ * @param opts -
19
19
  */
20
20
  export declare const varToSvg: ($var: LVar<any>, opts: Partial<VizualizeVarOpts>) => string;
21
21
  //# sourceMappingURL=var.d.ts.map
package/var.js CHANGED
@@ -9,8 +9,8 @@ import { inRange } from "@thi.ng/math/interval";
9
9
  * polygons. Returns a {@link @thi.ng/hiccup-canvas#} compatible shape component
10
10
  * tree.
11
11
  *
12
- * @param var
13
- * @param opts
12
+ * @param var -
13
+ * @param opts -
14
14
  */
15
15
  export const varToHiccup = ({ domain: [min, max], terms }, opts = {}) => {
16
16
  const { samples, width, height, labels, stroke: strokeFn, fill: fillFn, } = {
@@ -97,6 +97,6 @@ export const varToHiccup = ({ domain: [min, max], terms }, opts = {}) => {
97
97
  * actual SVG string.
98
98
  *
99
99
  * @param $var
100
- * @param opts
100
+ * @param opts -
101
101
  */
102
102
  export const varToSvg = ($var, opts) => serialize(convertTree(varToHiccup($var, opts)));