@thi.ng/pixel-io-geotiff 0.1.96 → 0.1.98

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
  >
@@ -74,6 +74,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 399 bytes
74
74
  - [@thi.ng/pixel](https://github.com/thi-ng/umbrella/tree/develop/packages/pixel)
75
75
  - [geotiff](https://github.com/geotiffjs/geotiff.js)
76
76
 
77
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
78
+
77
79
  ## API
78
80
 
79
81
  [Generated API docs](https://docs.thi.ng/umbrella/pixel-io-geotiff/)
@@ -82,7 +84,7 @@ Package sizes (brotli'd, pre-treeshake): ESM: 399 bytes
82
84
  import { GRAY16 } from "@thi.ng/pixel";
83
85
  import { readGeoTiff } from "@thi.ng/pixel-io-geotiff";
84
86
  import { asPGM16 } from "@thi.ng/pixel-io-netpbm";
85
- import { readFileSync } from "fs";
87
+ import { readFileSync } "node:fs";
86
88
 
87
89
  // load GeoTIFF image and convert to thi.ng/pixel floatBuffer
88
90
  // the result image uses a custom pixel format (FLOAT_GRAY_RANGE, with [min..max]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-io-geotiff",
3
- "version": "0.1.96",
3
+ "version": "0.1.98",
4
4
  "description": "GeoTIFF reader support for @thi.ng/pixel",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,8 +36,8 @@
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/pixel": "^6.1.37",
39
+ "@thi.ng/api": "^8.11.7",
40
+ "@thi.ng/pixel": "^7.1.0",
41
41
  "geotiff": "2.1.3"
42
42
  },
43
43
  "devDependencies": {
@@ -87,5 +87,5 @@
87
87
  "status": "alpha",
88
88
  "year": 2023
89
89
  },
90
- "gitHead": "c7aaa453b01a45e5235517db9d2a283b97abac96\n"
90
+ "gitHead": "ec052b25dff4db6c4d1748e946c38fb5cf403dbf\n"
91
91
  }