@thi.ng/axidraw 0.3.0 → 0.4.0

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**: 2022-12-29T20:56:59Z
3
+ - **Last updated**: 2023-01-10T15:20:18Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/axidraw@0.4.0) (2023-01-10)
13
+
14
+ #### 🚀 Features
15
+
16
+ - also send "reset" cmd in .reset() ([30fe365](https://github.com/thi-ng/umbrella/commit/30fe365))
17
+
12
18
  ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/axidraw@0.3.0) (2022-12-29)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -164,7 +164,7 @@ For Node.js REPL:
164
164
  const axidraw = await import("@thi.ng/axidraw");
165
165
  ```
166
166
 
167
- Package sizes (brotli'd, pre-treeshake): ESM: 3.96 KB
167
+ Package sizes (brotli'd, pre-treeshake): ESM: 3.97 KB
168
168
 
169
169
  ## Dependencies
170
170
 
@@ -174,7 +174,7 @@ Package sizes (brotli'd, pre-treeshake): ESM: 3.96 KB
174
174
  - [@thi.ng/errors](https://github.com/thi-ng/umbrella/tree/develop/packages/errors)
175
175
  - [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
176
176
  - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
177
- - [serialport](https://github.com/thi-ng/umbrella/tree/develop/packages/undefined)
177
+ - [serialport](git://github.com/serialport/node-serialport.git)
178
178
 
179
179
  ## API
180
180
 
@@ -282,4 +282,4 @@ If this project contributes to an academic publication, please cite it as:
282
282
 
283
283
  ## License
284
284
 
285
- © 2022 Karsten Schmidt // Apache License 2.0
285
+ © 2022 - 2023 Karsten Schmidt // Apache License 2.0
package/axidraw.js CHANGED
@@ -37,6 +37,7 @@ export class AxiDraw {
37
37
  reset() {
38
38
  zero(this.pos);
39
39
  zero(this.targetPos);
40
+ this.send("R\r");
40
41
  return this;
41
42
  }
42
43
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/axidraw",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Minimal AxiDraw plotter/drawing machine controller for Node.js",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,17 +34,17 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.2",
38
- "@thi.ng/checks": "^3.3.6",
39
- "@thi.ng/compose": "^2.1.23",
40
- "@thi.ng/errors": "^2.2.7",
41
- "@thi.ng/logger": "^1.4.6",
42
- "@thi.ng/vectors": "^7.5.30",
37
+ "@thi.ng/api": "^8.6.3",
38
+ "@thi.ng/checks": "^3.3.7",
39
+ "@thi.ng/compose": "^2.1.24",
40
+ "@thi.ng/errors": "^2.2.8",
41
+ "@thi.ng/logger": "^1.4.7",
42
+ "@thi.ng/vectors": "^7.5.31",
43
43
  "serialport": "^10.5.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.33.7",
47
- "@thi.ng/testament": "^0.3.8",
47
+ "@thi.ng/testament": "^0.3.9",
48
48
  "rimraf": "^3.0.2",
49
49
  "tools": "^0.0.1",
50
50
  "typedoc": "^0.23.22",
@@ -102,5 +102,5 @@
102
102
  "status": "alpha",
103
103
  "year": 2022
104
104
  },
105
- "gitHead": "28bb74c67217a352d673b6efdab234921d4a370e\n"
105
+ "gitHead": "3f0b3e2a7c82aefc7e46fb4338369836b5e1b8cf\n"
106
106
  }