@thi.ng/geom-sdf 0.4.6 → 0.4.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +4 -2
  3. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-07-19T14:56:21Z
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
@@ -7,7 +7,7 @@
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 189 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
  >
@@ -183,6 +183,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 3.76 KB
183
183
  - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
184
184
  - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
185
185
 
186
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
187
+
186
188
  ## Usage examples
187
189
 
188
190
  Two projects in this repo's
@@ -203,7 +205,7 @@ import { asSvg, bounds, circle, group, svgDoc } from "@thi.ng/geom";
203
205
  import { asPolygons, asSDF, sample2d } from "@thi.ng/geom-sdf";
204
206
  import { range, repeatedly } from "@thi.ng/transducers";
205
207
  import { randMinMax2 } from "@thi.ng/vectors";
206
- import { writeFileSync } from "fs";
208
+ import { writeFileSync } "node:fs";
207
209
 
208
210
  const RES = [256, 256];
209
211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-sdf",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,17 +36,17 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.6",
40
- "@thi.ng/checks": "^3.6.8",
41
- "@thi.ng/defmulti": "^3.0.44",
42
- "@thi.ng/errors": "^2.5.12",
43
- "@thi.ng/geom": "^8.0.4",
44
- "@thi.ng/geom-isoline": "^2.1.132",
45
- "@thi.ng/geom-poly-utils": "^3.0.4",
46
- "@thi.ng/geom-resample": "^3.0.4",
47
- "@thi.ng/math": "^5.11.4",
48
- "@thi.ng/transducers": "^9.0.10",
49
- "@thi.ng/vectors": "^7.11.4"
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/checks": "^3.6.9",
41
+ "@thi.ng/defmulti": "^3.0.45",
42
+ "@thi.ng/errors": "^2.5.13",
43
+ "@thi.ng/geom": "^8.0.5",
44
+ "@thi.ng/geom-isoline": "^2.1.133",
45
+ "@thi.ng/geom-poly-utils": "^3.0.5",
46
+ "@thi.ng/geom-resample": "^3.0.5",
47
+ "@thi.ng/math": "^5.11.5",
48
+ "@thi.ng/transducers": "^9.0.11",
49
+ "@thi.ng/vectors": "^7.11.5"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@microsoft/api-extractor": "^7.47.0",
@@ -127,5 +127,5 @@
127
127
  "status": "alpha",
128
128
  "year": 2022
129
129
  },
130
- "gitHead": "c7aaa453b01a45e5235517db9d2a283b97abac96\n"
130
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
131
131
  }