@thi.ng/axidraw 1.1.0 → 1.1.2

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**: 2023-03-22T22:24:21Z
3
+ - **Last updated**: 2023-04-08T11:09:50Z
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/axidraw.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { IReset } from "@thi.ng/api";
2
- import { ReadonlyVec, Vec, VecPair } from "@thi.ng/vectors/api";
3
- import { AxiDrawOpts, DrawCommand, ISerial, Metrics } from "./api.js";
2
+ import { type ReadonlyVec, type Vec, type VecPair } from "@thi.ng/vectors/api";
3
+ import { type AxiDrawOpts, type DrawCommand, type ISerial, type Metrics } from "./api.js";
4
4
  export declare const DEFAULT_OPTS: AxiDrawOpts;
5
5
  export declare class AxiDraw implements IReset {
6
6
  serial: ISerial;
package/axidraw.js CHANGED
@@ -9,7 +9,7 @@ import { DIN_A3_LANDSCAPE } from "@thi.ng/units/constants/paper-sizes";
9
9
  import { convert, div, Quantity } from "@thi.ng/units/unit";
10
10
  import { inch } from "@thi.ng/units/units/length";
11
11
  import { abs2 } from "@thi.ng/vectors/abs";
12
- import { ZERO2 } from "@thi.ng/vectors/api";
12
+ import { ZERO2, } from "@thi.ng/vectors/api";
13
13
  import { clamp2 } from "@thi.ng/vectors/clamp";
14
14
  import { maddN2 } from "@thi.ng/vectors/maddn";
15
15
  import { mag } from "@thi.ng/vectors/mag";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/axidraw",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Minimal AxiDraw plotter/drawing machine controller for Node.js",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,25 +34,25 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.7.4",
38
- "@thi.ng/checks": "^3.3.10",
39
- "@thi.ng/compose": "^2.1.29",
40
- "@thi.ng/date": "^2.4.9",
41
- "@thi.ng/errors": "^2.2.13",
42
- "@thi.ng/logger": "^1.4.11",
43
- "@thi.ng/math": "^5.4.5",
44
- "@thi.ng/transducers": "^8.4.0",
45
- "@thi.ng/units": "^0.4.0",
46
- "@thi.ng/vectors": "^7.6.9",
37
+ "@thi.ng/api": "^8.7.6",
38
+ "@thi.ng/checks": "^3.3.12",
39
+ "@thi.ng/compose": "^2.1.31",
40
+ "@thi.ng/date": "^2.4.11",
41
+ "@thi.ng/errors": "^2.2.15",
42
+ "@thi.ng/logger": "^1.4.13",
43
+ "@thi.ng/math": "^5.4.7",
44
+ "@thi.ng/transducers": "^8.4.2",
45
+ "@thi.ng/units": "^0.4.2",
46
+ "@thi.ng/vectors": "^7.6.11",
47
47
  "serialport": "^10.5.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-extractor": "^7.34.4",
51
- "@thi.ng/testament": "^0.3.13",
52
- "rimraf": "^4.4.0",
51
+ "@thi.ng/testament": "^0.3.15",
52
+ "rimraf": "^4.4.1",
53
53
  "tools": "^0.0.1",
54
- "typedoc": "^0.23.26",
55
- "typescript": "^4.9.5"
54
+ "typedoc": "^0.23.28",
55
+ "typescript": "^5.0.4"
56
56
  },
57
57
  "keywords": [
58
58
  "2d",
@@ -115,5 +115,5 @@
115
115
  "status": "alpha",
116
116
  "year": 2022
117
117
  },
118
- "gitHead": "5b3d731c0e192c53f65efb4baed97be0e4029a33\n"
118
+ "gitHead": "abcedd9e4e06a4b631f363610eec572f79b571c1\n"
119
119
  }
package/palettes.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { ReadonlyVec } from "@thi.ng/vectors/api";
2
- import { DipOpts } from "./dip.js";
2
+ import { type DipOpts } from "./dip.js";
3
3
  export interface BasePaletteOpts extends Partial<DipOpts> {
4
4
  /**
5
5
  * Jitter radius for base position.