@thi.ng/grid-iterators 4.0.42 → 4.0.44

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-01-23T15:58:27Z
3
+ - **Last updated**: 2024-01-29T20:39:37Z
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,9 +7,13 @@
7
7
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/grid-iterators.svg)
8
8
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
9
9
 
10
- This is a standalone project, maintained as part of the
11
- [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo and
12
- anti-framework.
10
+ > [!NOTE]
11
+ > This is one of 189 standalone projects, maintained as part
12
+ > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
13
+ > and anti-framework.
14
+ >
15
+ > 🚀 Help me to work full-time on these projects by [sponsoring me on
16
+ > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
13
17
 
14
18
  - [About](#about)
15
19
  - [Columns](#columns)
@@ -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.42",
3
+ "version": "4.0.44",
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.17",
41
- "@thi.ng/arrays": "^2.7.14",
42
- "@thi.ng/binary": "^3.4.5",
43
- "@thi.ng/bitfield": "^2.3.15",
44
- "@thi.ng/errors": "^2.4.11",
45
- "@thi.ng/morton": "^3.1.62",
46
- "@thi.ng/random": "^3.6.24",
47
- "@thi.ng/transducers": "^8.8.21"
40
+ "@thi.ng/api": "^8.9.19",
41
+ "@thi.ng/arrays": "^2.7.16",
42
+ "@thi.ng/binary": "^3.4.7",
43
+ "@thi.ng/bitfield": "^2.3.17",
44
+ "@thi.ng/errors": "^2.4.12",
45
+ "@thi.ng/morton": "^3.1.64",
46
+ "@thi.ng/random": "^3.6.26",
47
+ "@thi.ng/transducers": "^8.8.23"
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": "417b5a7ea7bd54a3b4f086fe0fc2ce8e8933c9b2\n"
169
+ "gitHead": "20909ffc46f23f61ec7647e8d27ed17752ce9828\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