@thi.ng/cellular 1.0.1 → 1.0.3

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.
Files changed (3) hide show
  1. package/1d.js +1 -1
  2. package/CHANGELOG.md +7 -1
  3. package/package.json +5 -5
package/1d.js CHANGED
@@ -190,7 +190,7 @@ class MultiCA1D {
190
190
  $("mask", mask);
191
191
  $("prob", prob);
192
192
  probabilistic ? this.updateProbabilistic(rnd) : this.update();
193
- onupdate && onupdate(this, y);
193
+ onupdate?.(this, y);
194
194
  pixels.set(this.current, y * this.width);
195
195
  }
196
196
  }
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-04T21:07:37Z
3
+ - **Last updated**: 2025-01-14T12:23:33Z
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
+ ### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@1.0.2) (2025-01-14)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13))
17
+
12
18
  ### [0.2.92](https://github.com/thi-ng/umbrella/tree/@thi.ng/cellular@0.2.92) (2024-02-22)
13
19
 
14
20
  #### ♻️ Refactoring
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cellular",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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",
@@ -41,11 +41,11 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@thi.ng/api": "^8.11.16",
44
- "@thi.ng/arrays": "^2.10.9",
45
- "@thi.ng/checks": "^3.6.18",
44
+ "@thi.ng/arrays": "^2.10.11",
45
+ "@thi.ng/checks": "^3.6.19",
46
46
  "@thi.ng/errors": "^2.5.22",
47
47
  "@thi.ng/random": "^4.1.7",
48
- "@thi.ng/transducers": "^9.2.12"
48
+ "@thi.ng/transducers": "^9.2.14"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@microsoft/api-extractor": "^7.48.1",
@@ -101,5 +101,5 @@
101
101
  "year": 2022,
102
102
  "screenshot": "cellular/hero.png"
103
103
  },
104
- "gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n"
104
+ "gitHead": "d888087b36b086fd8c3e7dc98d35857266f78942\n"
105
105
  }