@thi.ng/grid-iterators 4.0.53 → 4.0.54

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-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-22T23:15:26Z
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,12 @@ 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
+ ### [4.0.54](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@4.0.54) (2024-02-22)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
17
+
12
18
  ### [4.0.30](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@4.0.30) (2023-11-09)
13
19
 
14
20
  #### ♻️ Refactoring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/grid-iterators",
3
- "version": "4.0.53",
3
+ "version": "4.0.54",
4
4
  "description": "2D grid and shape iterators w/ multiple orderings",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -44,7 +44,7 @@
44
44
  "@thi.ng/errors": "^2.4.18",
45
45
  "@thi.ng/morton": "^3.1.73",
46
46
  "@thi.ng/random": "^3.6.32",
47
- "@thi.ng/transducers": "^8.9.5"
47
+ "@thi.ng/transducers": "^8.9.6"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-extractor": "^7.40.1",
@@ -166,5 +166,5 @@
166
166
  ],
167
167
  "year": 2019
168
168
  },
169
- "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
169
+ "gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
170
170
  }
package/utils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { asInt } from "@thi.ng/api/typedarray";
2
2
  import { ident } from "./transforms.js";
3
3
  const __opts = (opts) => {
4
- let { cols, rows, tx } = { rows: opts.cols, tx: ident, ...opts };
4
+ let { cols, rows = opts.cols, tx = ident } = opts;
5
5
  [cols, rows] = asInt(cols, rows);
6
6
  return { cols, rows, tx: tx(cols, rows) };
7
7
  };