@thi.ng/geom-fuzz 3.0.3 → 3.0.5

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**: 2024-07-06T12:02:18Z
3
+ - **Last updated**: 2024-07-22T13:15:57Z
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
@@ -1,13 +1,13 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/geom-fuzz](https://media.thi.ng/umbrella/banners-20230807/thing-geom-fuzz.svg?4405356a)
3
+ # ![@thi.ng/geom-fuzz](https://media.thi.ng/umbrella/banners-20230807/thing-geom-fuzz.svg?45938d4b)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/geom-fuzz.svg)](https://www.npmjs.com/package/@thi.ng/geom-fuzz)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/geom-fuzz.svg)
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 188 standalone projects, maintained as part
10
+ > This is one of 198 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
  >
@@ -72,15 +72,17 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.19 KB
72
72
  ## Dependencies
73
73
 
74
74
  - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
75
- - [@thi.ng/associative](https://github.com/thi-ng/umbrella/tree/develop/packages/associative)
76
75
  - [@thi.ng/color](https://github.com/thi-ng/umbrella/tree/develop/packages/color)
77
76
  - [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom)
78
77
  - [@thi.ng/geom-clip-line](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-clip-line)
79
78
  - [@thi.ng/geom-resample](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-resample)
80
79
  - [@thi.ng/grid-iterators](https://github.com/thi-ng/umbrella/tree/develop/packages/grid-iterators)
80
+ - [@thi.ng/object-utils](https://github.com/thi-ng/umbrella/tree/develop/packages/object-utils)
81
81
  - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
82
82
  - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
83
83
 
84
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
85
+
84
86
  ## Usage examples
85
87
 
86
88
  One project in this repo's
package/dots.js CHANGED
@@ -1,8 +1,8 @@
1
- import { mergeDeepObj } from "@thi.ng/associative/merge-deep";
2
1
  import { bounds } from "@thi.ng/geom/bounds";
3
2
  import { pointInside } from "@thi.ng/geom/point-inside";
4
3
  import { points } from "@thi.ng/geom/points";
5
4
  import { unmapPoint } from "@thi.ng/geom/unmap-point";
5
+ import { mergeDeepObj } from "@thi.ng/object-utils/merge-deep";
6
6
  import { range2d } from "@thi.ng/transducers/range2d";
7
7
  import { div2 } from "@thi.ng/vectors/div";
8
8
  import { jitter } from "@thi.ng/vectors/jitter";
package/hatch.js CHANGED
@@ -1,4 +1,3 @@
1
- import { mergeDeepObj } from "@thi.ng/associative/merge-deep";
2
1
  import { clipLinePoly } from "@thi.ng/geom-clip-line/clip-poly";
3
2
  import { bounds } from "@thi.ng/geom/bounds";
4
3
  import { group } from "@thi.ng/geom/group";
@@ -8,6 +7,7 @@ import { columnEnds2d } from "@thi.ng/grid-iterators/column-ends";
8
7
  import { diagonalEnds2d } from "@thi.ng/grid-iterators/diagonal-ends";
9
8
  import { rowEnds2d } from "@thi.ng/grid-iterators/row-ends";
10
9
  import { flipX, flipXY, flipY, ident } from "@thi.ng/grid-iterators/transforms";
10
+ import { mergeDeepObj } from "@thi.ng/object-utils/merge-deep";
11
11
  import { partition } from "@thi.ng/transducers/partition";
12
12
  import { div2 } from "@thi.ng/vectors/div";
13
13
  import { DEFAULT_LINE } from "./api.js";
package/line.js CHANGED
@@ -1,7 +1,7 @@
1
- import { mergeDeepObj } from "@thi.ng/associative/merge-deep";
2
1
  import { resample } from "@thi.ng/geom-resample/resample";
3
2
  import { line } from "@thi.ng/geom/line";
4
3
  import { polyline } from "@thi.ng/geom/polyline";
4
+ import { mergeDeepObj } from "@thi.ng/object-utils/merge-deep";
5
5
  import { jitter } from "@thi.ng/vectors/jitter";
6
6
  import { DEFAULT_LINE } from "./api.js";
7
7
  import { jitterPoints } from "./points.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-fuzz",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,15 +36,15 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.5",
40
- "@thi.ng/associative": "^6.3.64",
41
- "@thi.ng/color": "^5.6.49",
42
- "@thi.ng/geom": "^8.0.3",
43
- "@thi.ng/geom-clip-line": "^2.3.93",
44
- "@thi.ng/geom-resample": "^3.0.3",
45
- "@thi.ng/grid-iterators": "^4.0.78",
46
- "@thi.ng/transducers": "^9.0.9",
47
- "@thi.ng/vectors": "^7.11.3"
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/color": "^5.6.51",
41
+ "@thi.ng/geom": "^8.0.5",
42
+ "@thi.ng/geom-clip-line": "^2.3.95",
43
+ "@thi.ng/geom-resample": "^3.0.5",
44
+ "@thi.ng/grid-iterators": "^4.0.80",
45
+ "@thi.ng/object-utils": "^1.1.0",
46
+ "@thi.ng/transducers": "^9.0.11",
47
+ "@thi.ng/vectors": "^7.11.5"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-extractor": "^7.47.0",
@@ -120,5 +120,5 @@
120
120
  ],
121
121
  "year": 2020
122
122
  },
123
- "gitHead": "ba4f2cd15eeb0cae30efe222524da4fed2a57267\n"
123
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
124
124
  }