@thi.ng/cellular 0.2.90 → 0.2.92

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/1d.js CHANGED
@@ -179,11 +179,14 @@ class MultiCA1D {
179
179
  pixels.length >= this.width * height,
180
180
  "target pixel buffer too small"
181
181
  );
182
- const { cells, mask, prob, probabilistic, rnd, onupdate } = {
183
- probabilistic: false,
184
- rnd: SYSTEM,
185
- ...opts
186
- };
182
+ const {
183
+ probabilistic = false,
184
+ rnd = SYSTEM,
185
+ cells,
186
+ mask,
187
+ prob,
188
+ onupdate
189
+ } = opts;
187
190
  const $ = (id, conf) => {
188
191
  conf && conf.perturb && rnd.probability(conf.perturb) && this.setNoise(id, conf.density || 0.05, rnd);
189
192
  };
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-19T16:07:07Z
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
+ ### [0.2.92](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.92) (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
  ### [0.2.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.68) (2023-11-09)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
19
19
 
20
20
  > [!NOTE]
21
- > This is one of 189 standalone projects, maintained as part
21
+ > This is one of 190 standalone projects, maintained as part
22
22
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
23
23
  > and anti-framework.
24
24
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cellular",
3
- "version": "0.2.90",
3
+ "version": "0.2.92",
4
4
  "description": "Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,12 +35,12 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.24",
39
- "@thi.ng/arrays": "^2.8.1",
40
- "@thi.ng/checks": "^3.4.24",
41
- "@thi.ng/errors": "^2.4.17",
42
- "@thi.ng/random": "^3.6.31",
43
- "@thi.ng/transducers": "^8.9.4"
38
+ "@thi.ng/api": "^8.9.25",
39
+ "@thi.ng/arrays": "^2.8.2",
40
+ "@thi.ng/checks": "^3.5.0",
41
+ "@thi.ng/errors": "^2.4.18",
42
+ "@thi.ng/random": "^3.6.32",
43
+ "@thi.ng/transducers": "^8.9.6"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.40.1",
@@ -93,5 +93,5 @@
93
93
  ],
94
94
  "year": 2022
95
95
  },
96
- "gitHead": "2724c87ca41810f2112f9d8c3d6b90dfaeea876b\n"
96
+ "gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
97
97
  }