@thi.ng/axidraw 1.1.165 → 1.1.166
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/README.md +2 -2
- package/axidraw.js +2 -2
- package/package.json +14 -13
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 214 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
|
>
|
|
@@ -197,7 +197,7 @@ For Node.js REPL:
|
|
|
197
197
|
const axi = await import("@thi.ng/axidraw");
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 3.
|
|
200
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 3.27 KB
|
|
201
201
|
|
|
202
202
|
## Dependencies
|
|
203
203
|
|
package/axidraw.js
CHANGED
|
@@ -3,7 +3,7 @@ import { delayed } from "@thi.ng/compose/delayed";
|
|
|
3
3
|
import { formatDuration } from "@thi.ng/date/format";
|
|
4
4
|
import { assert } from "@thi.ng/errors/assert";
|
|
5
5
|
import { ioerror } from "@thi.ng/errors/io";
|
|
6
|
-
import {
|
|
6
|
+
import { unsupportedOp } from "@thi.ng/errors/unsupported";
|
|
7
7
|
import { ConsoleLogger } from "@thi.ng/logger/console";
|
|
8
8
|
import { DIN_A3_LANDSCAPE } from "@thi.ng/units/constants/paper-sizes";
|
|
9
9
|
import { convert, div, Quantity } from "@thi.ng/units/unit";
|
|
@@ -248,7 +248,7 @@ class AxiDraw {
|
|
|
248
248
|
logger.info(`comment: ${a}`);
|
|
249
249
|
break;
|
|
250
250
|
default:
|
|
251
|
-
|
|
251
|
+
unsupportedOp(`unknown command: ${$cmd}`);
|
|
252
252
|
}
|
|
253
253
|
if (wait > 0) {
|
|
254
254
|
wait = Math.max(0, wait - preDelay);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/axidraw",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.166",
|
|
4
4
|
"description": "Minimal AxiDraw plotter/drawing machine controller for Node.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/thi-ng/umbrella.git"
|
|
11
|
+
"url": "git+https://github.com/thi-ng/umbrella.git",
|
|
12
|
+
"directory": "packages/axidraw"
|
|
12
13
|
},
|
|
13
14
|
"homepage": "https://thi.ng/axidraw",
|
|
14
15
|
"funding": [
|
|
@@ -39,16 +40,16 @@
|
|
|
39
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.12.
|
|
43
|
-
"@thi.ng/checks": "^3.8.
|
|
44
|
-
"@thi.ng/compose": "^3.0.
|
|
45
|
-
"@thi.ng/date": "^2.7.
|
|
46
|
-
"@thi.ng/errors": "^2.6.
|
|
47
|
-
"@thi.ng/logger": "^3.2.
|
|
48
|
-
"@thi.ng/math": "^5.15.
|
|
49
|
-
"@thi.ng/transducers": "^9.6.
|
|
50
|
-
"@thi.ng/units": "^1.1.
|
|
51
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.14",
|
|
44
|
+
"@thi.ng/checks": "^3.8.4",
|
|
45
|
+
"@thi.ng/compose": "^3.0.51",
|
|
46
|
+
"@thi.ng/date": "^2.7.77",
|
|
47
|
+
"@thi.ng/errors": "^2.6.3",
|
|
48
|
+
"@thi.ng/logger": "^3.2.13",
|
|
49
|
+
"@thi.ng/math": "^5.15.3",
|
|
50
|
+
"@thi.ng/transducers": "^9.6.23",
|
|
51
|
+
"@thi.ng/units": "^1.1.3",
|
|
52
|
+
"@thi.ng/vectors": "^8.6.20",
|
|
52
53
|
"serialport": "^13.0.0"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
@@ -118,5 +119,5 @@
|
|
|
118
119
|
"year": 2022,
|
|
119
120
|
"screenshot": "axidraw/axiscape-1280.jpg"
|
|
120
121
|
},
|
|
121
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
|
|
122
123
|
}
|