@thi.ng/geom 6.0.5 → 6.0.7

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-11-24T09:35:46Z
3
+ - **Last updated**: 2023-12-09T19:12:03Z
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,13 @@ 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
+ ### [6.0.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom@6.0.6) (2023-12-03)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - fix [#431](https://github.com/thi-ng/umbrella/issues/431) update Path.withAttribs() impl ([eaad1cd](https://github.com/thi-ng/umbrella/commit/eaad1cd))
17
+ - keep closed state of new path the same as original
18
+
12
19
  ### [6.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom@6.0.2) (2023-11-09)
13
20
 
14
21
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -200,7 +200,7 @@ For Node.js REPL:
200
200
  const geom = await import("@thi.ng/geom");
201
201
  ```
202
202
 
203
- Package sizes (brotli'd, pre-treeshake): ESM: 12.95 KB
203
+ Package sizes (brotli'd, pre-treeshake): ESM: 12.98 KB
204
204
 
205
205
  ## Dependencies
206
206
 
package/api/path.js CHANGED
@@ -32,7 +32,7 @@ export class Path {
32
32
  }
33
33
  withAttribs(attribs) {
34
34
  const res = new Path(this.segments, attribs);
35
- res.closed = true;
35
+ res.closed = this.closed;
36
36
  return res;
37
37
  }
38
38
  equiv(o) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom",
3
- "version": "6.0.5",
3
+ "version": "6.0.7",
4
4
  "description": "Functional, polymorphic API for 2D geometry types & SVG generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,40 +34,39 @@
34
34
  "tool:bpatch": "tools:node-esm tools/bpatch.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.9.9",
38
- "@thi.ng/arrays": "^2.7.5",
39
- "@thi.ng/associative": "^6.3.21",
40
- "@thi.ng/checks": "^3.4.9",
41
- "@thi.ng/defmulti": "^3.0.7",
42
- "@thi.ng/equiv": "^2.1.34",
43
- "@thi.ng/errors": "^2.4.3",
44
- "@thi.ng/geom-api": "^3.4.47",
45
- "@thi.ng/geom-arc": "^2.1.90",
46
- "@thi.ng/geom-clip-line": "^2.3.47",
47
- "@thi.ng/geom-clip-poly": "^2.1.89",
48
- "@thi.ng/geom-closest-point": "^2.1.85",
49
- "@thi.ng/geom-hull": "^2.1.85",
50
- "@thi.ng/geom-isec": "^2.1.89",
51
- "@thi.ng/geom-poly-utils": "^2.3.73",
52
- "@thi.ng/geom-resample": "^2.3.11",
53
- "@thi.ng/geom-splines": "^2.2.64",
54
- "@thi.ng/geom-subdiv-curve": "^2.1.89",
55
- "@thi.ng/geom-tessellate": "^2.1.90",
56
- "@thi.ng/hiccup": "^5.0.8",
57
- "@thi.ng/hiccup-svg": "^5.0.35",
58
- "@thi.ng/math": "^5.7.4",
59
- "@thi.ng/matrices": "^2.2.10",
60
- "@thi.ng/random": "^3.6.15",
61
- "@thi.ng/strings": "^3.7.0",
62
- "@thi.ng/transducers": "^8.8.12",
63
- "@thi.ng/vectors": "^7.8.6"
37
+ "@thi.ng/api": "^8.9.11",
38
+ "@thi.ng/arrays": "^2.7.7",
39
+ "@thi.ng/associative": "^6.3.23",
40
+ "@thi.ng/checks": "^3.4.11",
41
+ "@thi.ng/defmulti": "^3.0.9",
42
+ "@thi.ng/equiv": "^2.1.36",
43
+ "@thi.ng/errors": "^2.4.5",
44
+ "@thi.ng/geom-api": "^3.4.49",
45
+ "@thi.ng/geom-arc": "^2.1.92",
46
+ "@thi.ng/geom-clip-line": "^2.3.49",
47
+ "@thi.ng/geom-clip-poly": "^2.1.91",
48
+ "@thi.ng/geom-closest-point": "^2.1.87",
49
+ "@thi.ng/geom-hull": "^2.1.87",
50
+ "@thi.ng/geom-isec": "^2.1.91",
51
+ "@thi.ng/geom-poly-utils": "^2.3.75",
52
+ "@thi.ng/geom-resample": "^2.3.13",
53
+ "@thi.ng/geom-splines": "^2.2.66",
54
+ "@thi.ng/geom-subdiv-curve": "^2.1.91",
55
+ "@thi.ng/geom-tessellate": "^2.1.92",
56
+ "@thi.ng/hiccup": "^5.1.0",
57
+ "@thi.ng/hiccup-svg": "^5.0.37",
58
+ "@thi.ng/math": "^5.7.6",
59
+ "@thi.ng/matrices": "^2.2.12",
60
+ "@thi.ng/random": "^3.6.17",
61
+ "@thi.ng/strings": "^3.7.2",
62
+ "@thi.ng/transducers": "^8.8.14",
63
+ "@thi.ng/vectors": "^7.8.8"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@microsoft/api-extractor": "^7.38.3",
67
- "@thi.ng/testament": "^0.4.2",
68
67
  "rimraf": "^5.0.5",
69
68
  "tools": "^0.0.1",
70
- "typedoc": "^0.25.3",
69
+ "typedoc": "^0.25.4",
71
70
  "typescript": "^5.3.2"
72
71
  },
73
72
  "keywords": [
@@ -397,5 +396,5 @@
397
396
  ],
398
397
  "year": 2013
399
398
  },
400
- "gitHead": "f6de41f4991704fdbbb2899bb430ed4f4f6efab0\n"
399
+ "gitHead": "25f2ac8ff795a432a930119661b364d4d93b59a0\n"
401
400
  }