@thi.ng/cellular 0.2.115 → 0.2.116
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 +1 -1
- package/README.md +4 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 198 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -182,6 +182,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.45 KB
|
|
|
182
182
|
- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
|
|
183
183
|
- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
|
|
184
184
|
|
|
185
|
+
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
186
|
+
|
|
185
187
|
## API
|
|
186
188
|
|
|
187
189
|
[Generated API docs](https://docs.thi.ng/umbrella/cellular/)
|
|
@@ -194,7 +196,7 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.45 KB
|
|
|
194
196
|
import { MultiCA1D } from "@thi.ng/cellular";
|
|
195
197
|
import { defIndexed, intBuffer } from "@thi.ng/pixel";
|
|
196
198
|
import { asPPM } from "@thi.ng/pixel-io-netpbm";
|
|
197
|
-
import { writeFileSync }
|
|
199
|
+
import { writeFileSync } "node:fs";
|
|
198
200
|
|
|
199
201
|
const WIDTH = 512;
|
|
200
202
|
const HEIGHT = 512;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/cellular",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.116",
|
|
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",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.11.
|
|
40
|
-
"@thi.ng/arrays": "^2.9.
|
|
41
|
-
"@thi.ng/checks": "^3.6.
|
|
42
|
-
"@thi.ng/errors": "^2.5.
|
|
43
|
-
"@thi.ng/random": "^
|
|
44
|
-
"@thi.ng/transducers": "^9.0.
|
|
39
|
+
"@thi.ng/api": "^8.11.7",
|
|
40
|
+
"@thi.ng/arrays": "^2.9.12",
|
|
41
|
+
"@thi.ng/checks": "^3.6.9",
|
|
42
|
+
"@thi.ng/errors": "^2.5.13",
|
|
43
|
+
"@thi.ng/random": "^4.0.0",
|
|
44
|
+
"@thi.ng/transducers": "^9.0.11"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@microsoft/api-extractor": "^7.47.0",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
],
|
|
95
95
|
"year": 2022
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
|
|
98
98
|
}
|