@thi.ng/cellular 0.2.132 → 1.0.2

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
@@ -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**: 2024-12-27T14:11: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/README.md CHANGED
@@ -318,4 +318,4 @@ If this project contributes to an academic publication, please cite it as:
318
318
 
319
319
  ## License
320
320
 
321
- © 2022 - 2024 Karsten Schmidt // Apache License 2.0
321
+ © 2022 - 2025 Karsten Schmidt // Apache License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cellular",
3
- "version": "0.2.132",
3
+ "version": "1.0.2",
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",
@@ -40,12 +40,12 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.11.15",
44
- "@thi.ng/arrays": "^2.10.8",
45
- "@thi.ng/checks": "^3.6.17",
46
- "@thi.ng/errors": "^2.5.21",
47
- "@thi.ng/random": "^4.1.6",
48
- "@thi.ng/transducers": "^9.2.11"
43
+ "@thi.ng/api": "^8.11.16",
44
+ "@thi.ng/arrays": "^2.10.10",
45
+ "@thi.ng/checks": "^3.6.19",
46
+ "@thi.ng/errors": "^2.5.22",
47
+ "@thi.ng/random": "^4.1.7",
48
+ "@thi.ng/transducers": "^9.2.13"
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": "48bf4c22bf23f88ac99f435106af2214f79a0be1\n"
104
+ "gitHead": "6542b842120bef47cc18d45a1b1db68307a7f04b\n"
105
105
  }