@thi.ng/geom-axidraw 1.0.9 → 1.0.11

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**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-19T20:59:58Z
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
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 201 standalone projects, maintained as part
10
+ > This is one of 202 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/api.d.ts CHANGED
@@ -6,7 +6,7 @@ import type { ReadonlyVec } from "@thi.ng/vectors";
6
6
  * Package-specific shape attributes used to control conversion behavior. MUST
7
7
  * be stored under the `__axi` attribute name.
8
8
  *
9
- * @remark
9
+ * @remarks
10
10
  * Important: TODO keep this in sync with
11
11
  * [PolylineOpts](https://docs.thi.ng/umbrella/axidraw/interfaces/PolylineOpts.html)
12
12
  *
package/as-axidraw.d.ts CHANGED
@@ -12,7 +12,7 @@ import type { AsAxiDrawOpts } from "./api.js";
12
12
  *
13
13
  * Currently supported shape types (at least all types which are supported by
14
14
  * the
15
- * [`asPolyline()`](https://docs.thi.ng/umbrella/geom/functions/asPolyline.html)
15
+ * [`asPolyline`](https://docs.thi.ng/umbrella/geom/functions/asPolyline.html)
16
16
  * function):
17
17
  *
18
18
  * - arc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-axidraw",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Conversion and preparation of thi.ng/geom shapes & shape groups to/from AxiDraw pen plotter draw commands",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,21 +39,21 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/arrays": "^2.10.14",
44
- "@thi.ng/axidraw": "^1.1.113",
45
- "@thi.ng/compare": "^2.4.11",
46
- "@thi.ng/defmulti": "^3.0.59",
47
- "@thi.ng/geom": "^8.1.29",
48
- "@thi.ng/geom-accel": "^4.1.24",
49
- "@thi.ng/geom-clip-line": "^2.3.121",
50
- "@thi.ng/geom-isec": "^4.0.31",
51
- "@thi.ng/transducers": "^9.2.17",
52
- "@thi.ng/vectors": "^7.12.19"
42
+ "@thi.ng/api": "^8.11.21",
43
+ "@thi.ng/arrays": "^2.10.16",
44
+ "@thi.ng/axidraw": "^1.1.115",
45
+ "@thi.ng/compare": "^2.4.13",
46
+ "@thi.ng/defmulti": "^3.0.61",
47
+ "@thi.ng/geom": "^8.1.31",
48
+ "@thi.ng/geom-accel": "^4.1.26",
49
+ "@thi.ng/geom-clip-line": "^2.3.123",
50
+ "@thi.ng/geom-isec": "^4.0.33",
51
+ "@thi.ng/transducers": "^9.2.19",
52
+ "@thi.ng/vectors": "^7.12.21"
53
53
  },
54
54
  "devDependencies": {
55
- "esbuild": "^0.24.2",
56
- "typedoc": "^0.27.6",
55
+ "esbuild": "^0.25.0",
56
+ "typedoc": "^0.27.7",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "keywords": [
@@ -121,7 +121,8 @@
121
121
  "axidraw"
122
122
  ],
123
123
  "status": "alpha",
124
+ "tag": "axidraw",
124
125
  "year": 2022
125
126
  },
126
- "gitHead": "dcc1dbfa6eae31ac65e12843987b94d4a7edc144\n"
127
+ "gitHead": "bee617702ac61d093465b967f8f973dc566faa6b\n"
127
128
  }
package/sort.d.ts CHANGED
@@ -6,7 +6,7 @@ import type { PointOrdering, ShapeOrdering } from "./api.js";
6
6
  * Higher order point ordering fn. Adds points to given spatial
7
7
  * index/acceleration structure and then lazily sorts them by nearest neighbor
8
8
  * distance, starting selection of first point based on given `ref` point
9
- * (default: [0, 0]).
9
+ * (default: `[0,0]`).
10
10
  *
11
11
  * @remarks
12
12
  * By default is using a
@@ -19,15 +19,15 @@ import type { PointOrdering, ShapeOrdering } from "./api.js";
19
19
  */
20
20
  export declare const pointsByNearestNeighbor: (accel?: ISpatialSet<ReadonlyVec> & IRegionQuery<ReadonlyVec, ReadonlyVec, number>, ref?: ReadonlyVec) => PointOrdering;
21
21
  /**
22
- * Higher order point ordering fn. Sorts points by proximity to given `ref` point
23
- * (default: [0, 0]).
22
+ * Higher order point ordering fn. Sorts points by proximity to given `ref`
23
+ * point (default: `[0,0]`).
24
24
  *
25
25
  * @param ref
26
26
  */
27
27
  export declare const pointsByProximity: (ref?: ReadonlyVec) => PointOrdering;
28
28
  /**
29
29
  * Higher order shape sorting fn. Sorts shapes by their centroid's proximity to
30
- * given `ref` point (default: [0, 0]).
30
+ * given `ref` point (default: `[0,0]`).
31
31
  *
32
32
  * @param ref
33
33
  */