@thi.ng/grid-iterators 4.0.103 → 4.0.105
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 +3 -128
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
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.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -103,130 +105,3 @@ and/or version bumps of transitive dependencies.
|
|
|
103
105
|
#### 🚀 Features
|
|
104
106
|
|
|
105
107
|
- add diamondSquare() ([4fabaad](https://github.com/thi-ng/umbrella/commit/4fabaad))
|
|
106
|
-
|
|
107
|
-
### [2.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@2.2.4) (2021-12-13)
|
|
108
|
-
|
|
109
|
-
#### 🩹 Bug fixes
|
|
110
|
-
|
|
111
|
-
- off-by-one error in lineClipped() ([537b17a](https://github.com/thi-ng/umbrella/commit/537b17a))
|
|
112
|
-
- update right/bottom clip coords
|
|
113
|
-
|
|
114
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@2.2.0) (2021-11-17)
|
|
115
|
-
|
|
116
|
-
#### 🚀 Features
|
|
117
|
-
|
|
118
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
119
|
-
Improving the overall build ergonomics
|
|
120
|
-
- introduced a tools workspaces
|
|
121
|
-
- imported it in all needed packages/examples
|
|
122
|
-
- inclusive project root
|
|
123
|
-
|
|
124
|
-
#### ♻️ Refactoring
|
|
125
|
-
|
|
126
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
127
|
-
this commit reverts (partly) changes made in:
|
|
128
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
129
|
-
overall purpose is better testament ergonomics:
|
|
130
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
131
|
-
having a binary to handle this for us.
|
|
132
|
-
|
|
133
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@2.1.0) (2021-11-03)
|
|
134
|
-
|
|
135
|
-
#### 🚀 Features
|
|
136
|
-
|
|
137
|
-
- add floodFill(), update deps ([4634cf1](https://github.com/thi-ng/umbrella/commit/4634cf1))
|
|
138
|
-
- add flood fill functions ([65796b9](https://github.com/thi-ng/umbrella/commit/65796b9))
|
|
139
|
-
- add clipped shape iterators ([611f0da](https://github.com/thi-ng/umbrella/commit/611f0da))
|
|
140
|
-
- add generic clipped() filter iterator
|
|
141
|
-
- add circleClipped()
|
|
142
|
-
- add [hv]lineClipped()
|
|
143
|
-
|
|
144
|
-
#### 🩹 Bug fixes
|
|
145
|
-
|
|
146
|
-
- fix imports, readme ([adff976](https://github.com/thi-ng/umbrella/commit/adff976))
|
|
147
|
-
|
|
148
|
-
#### ♻️ Refactoring
|
|
149
|
-
|
|
150
|
-
- replace/re-use asInt() helper ([1b80de4](https://github.com/thi-ng/umbrella/commit/1b80de4))
|
|
151
|
-
- update clipped shape iters ([dc065ed](https://github.com/thi-ng/umbrella/commit/dc065ed))
|
|
152
|
-
- better pre-clipping for circle/line
|
|
153
|
-
- intern intersection/clipping helpers
|
|
154
|
-
- update floodFill() predicate type ([dec44e0](https://github.com/thi-ng/umbrella/commit/dec44e0))
|
|
155
|
-
- update docs
|
|
156
|
-
|
|
157
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@2.0.1) (2021-10-13)
|
|
158
|
-
|
|
159
|
-
#### ♻️ Refactoring
|
|
160
|
-
|
|
161
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
162
|
-
- add .js suffix for all relative imports
|
|
163
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
164
|
-
|
|
165
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@2.0.0) (2021-10-12)
|
|
166
|
-
|
|
167
|
-
#### 🛑 Breaking changes
|
|
168
|
-
|
|
169
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
170
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
171
|
-
- only ESM modules will be published from now on
|
|
172
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
173
|
-
- i.e. launch NodeJS via:
|
|
174
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
175
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
176
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
177
|
-
Also:
|
|
178
|
-
- normalize/restructure/reorg all package.json files
|
|
179
|
-
- cleanup all build scripts, remove obsolete
|
|
180
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
181
|
-
|
|
182
|
-
#### ♻️ Refactoring
|
|
183
|
-
|
|
184
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
185
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
186
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
187
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
188
|
-
- update imports (transducers) ([cab1ea8](https://github.com/thi-ng/umbrella/commit/cab1ea8))
|
|
189
|
-
- minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
|
|
190
|
-
|
|
191
|
-
### [0.4.24](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.4.24) (2021-03-03)
|
|
192
|
-
|
|
193
|
-
#### 🩹 Bug fixes
|
|
194
|
-
|
|
195
|
-
- enforce int coords ([e8e570f](https://github.com/thi-ng/umbrella/commit/e8e570f))
|
|
196
|
-
|
|
197
|
-
### [0.4.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.4.15) (2020-12-07)
|
|
198
|
-
|
|
199
|
-
#### ♻️ Refactoring
|
|
200
|
-
|
|
201
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
202
|
-
|
|
203
|
-
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.4.0) (2020-06-20)
|
|
204
|
-
|
|
205
|
-
#### 🚀 Features
|
|
206
|
-
|
|
207
|
-
- add new iterators ([e08985e](https://github.com/thi-ng/umbrella/commit/e08985e))
|
|
208
|
-
- add columns, rows
|
|
209
|
-
- add columnEnds, diagonalEnds, rowEnds
|
|
210
|
-
|
|
211
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.3.0) (2020-02-25)
|
|
212
|
-
|
|
213
|
-
#### 🚀 Features
|
|
214
|
-
|
|
215
|
-
- add line & circle iterators ([a6b757d](https://github.com/thi-ng/umbrella/commit/a6b757d))
|
|
216
|
-
- add line(), hline(), vline()
|
|
217
|
-
- add circle()
|
|
218
|
-
|
|
219
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.2.0) (2019-11-09)
|
|
220
|
-
|
|
221
|
-
#### 🚀 Features
|
|
222
|
-
|
|
223
|
-
- make row args optional ([60dccfc](https://github.com/thi-ng/umbrella/commit/60dccfc))
|
|
224
|
-
- add z-curve & random iterators, add deps ([ba8ed18](https://github.com/thi-ng/umbrella/commit/ba8ed18))
|
|
225
|
-
- add interleave fns ([c883ea0](https://github.com/thi-ng/umbrella/commit/c883ea0))
|
|
226
|
-
- add zigzagDiagonal(), update readme, rename files ([5630055](https://github.com/thi-ng/umbrella/commit/5630055))
|
|
227
|
-
|
|
228
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/grid-iterators@0.1.0) (2019-09-21)
|
|
229
|
-
|
|
230
|
-
#### 🚀 Features
|
|
231
|
-
|
|
232
|
-
- import as new package, incl. assets ([fe4ee00](https://github.com/thi-ng/umbrella/commit/fe4ee00))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/grid-iterators",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.105",
|
|
4
4
|
"description": "2D grid and shape iterators w/ multiple orderings",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -42,20 +42,19 @@
|
|
|
42
42
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@thi.ng/api": "^8.11.
|
|
46
|
-
"@thi.ng/arrays": "^2.10.
|
|
47
|
-
"@thi.ng/binary": "^3.4.
|
|
48
|
-
"@thi.ng/bitfield": "^2.3.
|
|
49
|
-
"@thi.ng/errors": "^2.5.
|
|
50
|
-
"@thi.ng/morton": "^3.1.
|
|
51
|
-
"@thi.ng/random": "^4.1.
|
|
52
|
-
"@thi.ng/transducers": "^9.2.
|
|
45
|
+
"@thi.ng/api": "^8.11.18",
|
|
46
|
+
"@thi.ng/arrays": "^2.10.13",
|
|
47
|
+
"@thi.ng/binary": "^3.4.41",
|
|
48
|
+
"@thi.ng/bitfield": "^2.3.63",
|
|
49
|
+
"@thi.ng/errors": "^2.5.24",
|
|
50
|
+
"@thi.ng/morton": "^3.1.105",
|
|
51
|
+
"@thi.ng/random": "^4.1.9",
|
|
52
|
+
"@thi.ng/transducers": "^9.2.16"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
56
55
|
"esbuild": "^0.24.2",
|
|
57
56
|
"typedoc": "^0.27.6",
|
|
58
|
-
"typescript": "^5.7.
|
|
57
|
+
"typescript": "^5.7.3"
|
|
59
58
|
},
|
|
60
59
|
"keywords": [
|
|
61
60
|
"2d",
|
|
@@ -170,5 +169,5 @@
|
|
|
170
169
|
],
|
|
171
170
|
"year": 2019
|
|
172
171
|
},
|
|
173
|
-
"gitHead": "
|
|
172
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
174
173
|
}
|