@thi.ng/geom-trace-bitmap 0.3.87 → 0.3.88

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-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
  >
@@ -88,6 +88,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 993 bytes
88
88
  - [@thi.ng/pixel](https://github.com/thi-ng/umbrella/tree/develop/packages/pixel)
89
89
  - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
90
90
 
91
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
92
+
91
93
  ## Usage examples
92
94
 
93
95
  One project in this repo's
@@ -118,7 +120,7 @@ pixel format...
118
120
  import { asSvg, group, line, points, svgDoc } from "@thi.ng/geom";
119
121
  import { traceBitmap } from "@thi.ng/geom-trace-bitmap";
120
122
  import { read } from "@thi.ng/pixel-io-netpbm";
121
- import { readFileSync, writeFileSync } from "fs";
123
+ import { readFileSync, writeFileSync } "node:fs";
122
124
 
123
125
  // vectorize bitmap, the returned arrays contain:
124
126
  // - pairs of vectors (line segments)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-trace-bitmap",
3
- "version": "0.3.87",
3
+ "version": "0.3.88",
4
4
  "description": "Bitmap image to hairline vector and point cloud conversions",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,12 +36,12 @@
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/errors": "^2.5.12",
41
- "@thi.ng/grid-iterators": "^4.0.79",
42
- "@thi.ng/matrices": "^2.4.4",
43
- "@thi.ng/pixel": "^6.1.37",
44
- "@thi.ng/vectors": "^7.11.4"
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/errors": "^2.5.13",
41
+ "@thi.ng/grid-iterators": "^4.0.80",
42
+ "@thi.ng/matrices": "^2.4.5",
43
+ "@thi.ng/pixel": "^7.0.0",
44
+ "@thi.ng/vectors": "^7.11.5"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@microsoft/api-extractor": "^7.47.0",
@@ -100,5 +100,5 @@
100
100
  "status": "alpha",
101
101
  "year": 2022
102
102
  },
103
- "gitHead": "c7aaa453b01a45e5235517db9d2a283b97abac96\n"
103
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
104
104
  }