@thi.ng/grid-iterators 3.0.0 → 3.0.2
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 +11 -1
- package/README.md +1 -1
- package/api.d.ts +3 -1
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**:
|
|
3
|
+
- **Last updated**: 2023-01-10T15:20:19Z
|
|
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,16 @@ 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
|
+
### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@3.0.1) (2022-12-29)
|
|
13
|
+
|
|
14
|
+
#### 🩹 Bug fixes
|
|
15
|
+
|
|
16
|
+
- add missing type exports ([879c11c](https://github.com/thi-ng/umbrella/commit/879c11c))
|
|
17
|
+
|
|
18
|
+
#### ♻️ Refactoring
|
|
19
|
+
|
|
20
|
+
- add GridIterator2D/3D type aliases ([610ad0e](https://github.com/thi-ng/umbrella/commit/610ad0e))
|
|
21
|
+
|
|
12
22
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@3.0.0) (2022-12-22)
|
|
13
23
|
|
|
14
24
|
#### 🛑 Breaking changes
|
package/README.md
CHANGED
package/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FnU2 } from "@thi.ng/api";
|
|
1
|
+
import type { Fn, FnU2 } from "@thi.ng/api";
|
|
2
2
|
/**
|
|
3
3
|
* Higher order point coordinate transformation function. First is called with
|
|
4
4
|
* grid resolution (cols,rows), then returns a function which is applied to each
|
|
@@ -22,4 +22,6 @@ export interface GridIterOpts {
|
|
|
22
22
|
*/
|
|
23
23
|
tx?: PointTransform;
|
|
24
24
|
}
|
|
25
|
+
export type GridIterator2D = Fn<GridIterOpts, Iterable<[number, number]>>;
|
|
26
|
+
export type GridIterator3D = Fn<GridIterOpts, Iterable<[number, number, number]>>;
|
|
25
27
|
//# sourceMappingURL=api.d.ts.map
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/grid-iterators",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "2D grid and shape iterators w/ multiple orderings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"test": "testament test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.6.
|
|
39
|
-
"@thi.ng/arrays": "^2.
|
|
40
|
-
"@thi.ng/binary": "^3.3.
|
|
41
|
-
"@thi.ng/bitfield": "^2.2.
|
|
42
|
-
"@thi.ng/morton": "^3.1.
|
|
43
|
-
"@thi.ng/random": "^3.3.
|
|
44
|
-
"@thi.ng/transducers": "^8.3.
|
|
38
|
+
"@thi.ng/api": "^8.6.3",
|
|
39
|
+
"@thi.ng/arrays": "^2.5.1",
|
|
40
|
+
"@thi.ng/binary": "^3.3.16",
|
|
41
|
+
"@thi.ng/bitfield": "^2.2.18",
|
|
42
|
+
"@thi.ng/morton": "^3.1.27",
|
|
43
|
+
"@thi.ng/random": "^3.3.21",
|
|
44
|
+
"@thi.ng/transducers": "^8.3.30"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.33.7",
|
|
48
|
-
"@thi.ng/testament": "^0.3.
|
|
48
|
+
"@thi.ng/testament": "^0.3.9",
|
|
49
49
|
"rimraf": "^3.0.2",
|
|
50
50
|
"tools": "^0.0.1",
|
|
51
51
|
"typedoc": "^0.23.22",
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
],
|
|
159
159
|
"year": 2019
|
|
160
160
|
},
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "3f0b3e2a7c82aefc7e46fb4338369836b5e1b8cf\n"
|
|
162
162
|
}
|