@thi.ng/cellular 0.2.22 → 0.2.23

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**: 2022-11-30T22:27:37Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![cellular](https://media.thi.ng/umbrella/banners-20220914/thing-cellular.svg?4c8cf48e)
3
+ # ![@thi.ng/cellular](https://media.thi.ng/umbrella/banners-20220914/thing-cellular.svg?4c8cf48e)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/cellular.svg)](https://www.npmjs.com/package/@thi.ng/cellular)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/cellular.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -31,7 +31,7 @@ This project is part of the
31
31
 
32
32
  ![Custom cellular automata w/ 7-neighborhood & 128 states](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/cellular/hero.png)
33
33
 
34
- Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc..
34
+ Highly customizable 1D cellular automata, shared env, multiple rules, arbitrary sized/shaped neighborhoods, short term memory, cell states etc.
35
35
 
36
36
  The generic implementation provided by this package enables many novel and
37
37
  unusual CA setups as well as coevolution of multiple CAs within a shared
@@ -156,11 +156,8 @@ ES module import:
156
156
 
157
157
  For Node.js REPL:
158
158
 
159
- ```text
160
- # with flag only for < v16
161
- node --experimental-repl-await
162
-
163
- > const cellular = await import("@thi.ng/cellular");
159
+ ```js
160
+ const cellular = await import("@thi.ng/cellular");
164
161
  ```
165
162
 
166
163
  Package sizes (brotli'd, pre-treeshake): ESM: 1.40 KB
@@ -292,7 +289,7 @@ writeFileSync("export/out.ppm", asPPM(img));
292
289
 
293
290
  ## Authors
294
291
 
295
- Karsten Schmidt
292
+ - [Karsten Schmidt](https://thi.ng)
296
293
 
297
294
  If this project contributes to an academic publication, please cite it as:
298
295
 
@@ -307,4 +304,4 @@ If this project contributes to an academic publication, please cite it as:
307
304
 
308
305
  ## License
309
306
 
310
- &copy; 2022 Karsten Schmidt // Apache Software License 2.0
307
+ &copy; 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import type { Fn2, FnN, NumericArray } from "@thi.ng/api";
2
2
  import type { IRandom } from "@thi.ng/random";
3
3
  import type { MultiCA1D } from "./1d.js";
4
- export declare type Target = "cells" | "mask" | "prob";
5
- export declare type Kernel = NumericArray[];
4
+ export type Target = "cells" | "mask" | "prob";
5
+ export type Kernel = NumericArray[];
6
6
  export interface CAConfig1D {
7
7
  /**
8
8
  * Same as {@link CASpec1D.kernel}.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/cellular",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
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",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/cellular#readme",
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/cellular#readme",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,19 +34,19 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.1",
38
- "@thi.ng/checks": "^3.3.4",
39
- "@thi.ng/errors": "^2.2.5",
40
- "@thi.ng/random": "^3.3.17",
41
- "@thi.ng/transducers": "^8.3.25"
37
+ "@thi.ng/api": "^8.6.0",
38
+ "@thi.ng/checks": "^3.3.5",
39
+ "@thi.ng/errors": "^2.2.6",
40
+ "@thi.ng/random": "^3.3.18",
41
+ "@thi.ng/transducers": "^8.3.26"
42
42
  },
43
43
  "devDependencies": {
44
- "@microsoft/api-extractor": "^7.33.5",
45
- "@thi.ng/testament": "^0.3.6",
44
+ "@microsoft/api-extractor": "^7.33.7",
45
+ "@thi.ng/testament": "^0.3.7",
46
46
  "rimraf": "^3.0.2",
47
47
  "tools": "^0.0.1",
48
- "typedoc": "^0.23.20",
49
- "typescript": "^4.8.4"
48
+ "typedoc": "^0.23.22",
49
+ "typescript": "^4.9.4"
50
50
  },
51
51
  "keywords": [
52
52
  "1d",
@@ -92,5 +92,5 @@
92
92
  ],
93
93
  "year": 2022
94
94
  },
95
- "gitHead": "1fe40da507070653f420156d91e6b27cf682004f\n"
95
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
96
96
  }