@thi.ng/grid-iterators 4.0.41 → 4.0.43

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**: 2023-12-31T09:44:24Z
3
+ - **Last updated**: 2024-01-26T18:03:04Z
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
@@ -311,4 +311,4 @@ If this project contributes to an academic publication, please cite it as:
311
311
 
312
312
  ## License
313
313
 
314
- © 2019 - 2023 Karsten Schmidt // Apache License 2.0
314
+ © 2019 - 2024 Karsten Schmidt // Apache License 2.0
@@ -1,5 +1,5 @@
1
1
  import type { GridIterOpts2D } from "./api.js";
2
- interface DiagonalSlopeOpts extends GridIterOpts2D {
2
+ export interface DiagonalSlopeOpts extends GridIterOpts2D {
3
3
  /**
4
4
  * Diagonal slope / step size
5
5
  */
@@ -40,5 +40,4 @@ export declare function diagonalSlopeY(opts: DiagonalSlopeOpts): Generator<impor
40
40
  * @param opts -
41
41
  */
42
42
  export declare function diagonalSlopeX(opts: DiagonalSlopeOpts): Generator<import("./api.js").GridCoord2D, void, unknown>;
43
- export {};
44
43
  //# sourceMappingURL=diagonal-slope.d.ts.map
package/interleave.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { GridIterOpts2D } from "./api.js";
2
- interface InterleaveOpts2D extends GridIterOpts2D {
2
+ export interface InterleaveOpts2D extends GridIterOpts2D {
3
3
  /**
4
4
  * Row or column stride.
5
5
  *
@@ -38,5 +38,4 @@ export declare function interleaveColumns2d(opts: InterleaveOpts2D): Generator<i
38
38
  * @param opts -
39
39
  */
40
40
  export declare function interleaveRows2d(opts: InterleaveOpts2D): Generator<import("./api.js").GridCoord2D, void, undefined>;
41
- export {};
42
41
  //# sourceMappingURL=interleave.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/grid-iterators",
3
- "version": "4.0.41",
3
+ "version": "4.0.43",
4
4
  "description": "2D grid and shape iterators w/ multiple orderings",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,14 +37,14 @@
37
37
  "tool:assets": "bun tools/build-assets.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.9.16",
41
- "@thi.ng/arrays": "^2.7.13",
42
- "@thi.ng/binary": "^3.4.4",
43
- "@thi.ng/bitfield": "^2.3.14",
44
- "@thi.ng/errors": "^2.4.10",
45
- "@thi.ng/morton": "^3.1.61",
46
- "@thi.ng/random": "^3.6.23",
47
- "@thi.ng/transducers": "^8.8.20"
40
+ "@thi.ng/api": "^8.9.18",
41
+ "@thi.ng/arrays": "^2.7.15",
42
+ "@thi.ng/binary": "^3.4.6",
43
+ "@thi.ng/bitfield": "^2.3.16",
44
+ "@thi.ng/errors": "^2.4.11",
45
+ "@thi.ng/morton": "^3.1.63",
46
+ "@thi.ng/random": "^3.6.25",
47
+ "@thi.ng/transducers": "^8.8.22"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-extractor": "^7.39.0",
@@ -166,5 +166,5 @@
166
166
  ],
167
167
  "year": 2019
168
168
  },
169
- "gitHead": "b3db173682e1148cf08a6bd907b8d90b47b7c066\n"
169
+ "gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
170
170
  }
package/random.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { IRandom } from "@thi.ng/random";
2
2
  import type { GridIterOpts2D } from "./api.js";
3
- interface RandomOpts2D extends GridIterOpts2D {
3
+ export interface RandomOpts2D extends GridIterOpts2D {
4
4
  /**
5
5
  * PRNG instance to use
6
6
  *
@@ -18,5 +18,4 @@ interface RandomOpts2D extends GridIterOpts2D {
18
18
  * @param opts -
19
19
  */
20
20
  export declare function random2d(opts: RandomOpts2D): Generator<import("./api.js").GridCoord2D, void, unknown>;
21
- export {};
22
21
  //# sourceMappingURL=random.d.ts.map
package/transforms.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  import type { PointTransform2D } from "./api.js";
2
2
  /**
3
- * No-op / identity {@link PointTransform}.
3
+ * No-op / identity {@link PointTransform2D}.
4
4
  */
5
5
  export declare const ident: PointTransform2D;
6
6
  export declare const flipX: PointTransform2D;
7
7
  export declare const flipY: PointTransform2D;
8
8
  export declare const flipXY: PointTransform2D;
9
9
  /**
10
- * {@link PointTransform} to swaps X & Y coords.
10
+ * {@link PointTransform2D} to swaps X & Y coords.
11
11
  */
12
12
  export declare const swapXY: PointTransform2D;
13
13
  /**
14
- * Higher order {@link PointTransform} to compose given transforms in
14
+ * Higher order {@link PointTransform2D} to compose given transforms in
15
15
  * left-to-right order.
16
16
  *
17
17
  * @param a