@thi.ng/transducers
Advanced tools
Comparing version
# Change Log | ||
- **Last updated**: 2025-01-04T21:07:38Z | ||
- **Last updated**: 2025-01-14T12:23:33Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [9.2.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@9.2.13) (2025-01-14) | ||
#### ♻️ Refactoring | ||
- use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13)) | ||
### [9.2.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@9.2.11) (2024-12-27) | ||
@@ -14,0 +20,0 @@ |
{ | ||
"name": "@thi.ng/transducers", | ||
"version": "9.2.12", | ||
"version": "9.2.13", | ||
"description": "Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations", | ||
@@ -48,4 +48,4 @@ "type": "module", | ||
"@thi.ng/api": "^8.11.16", | ||
"@thi.ng/arrays": "^2.10.9", | ||
"@thi.ng/checks": "^3.6.18", | ||
"@thi.ng/arrays": "^2.10.10", | ||
"@thi.ng/checks": "^3.6.19", | ||
"@thi.ng/compare": "^2.4.8", | ||
@@ -609,3 +609,3 @@ "@thi.ng/compose": "^3.0.19", | ||
}, | ||
"gitHead": "56c1d57a96565bbcc8c06c73779a619bba0db368\n" | ||
"gitHead": "6542b842120bef47cc18d45a1b1db68307a7f04b\n" | ||
} |
@@ -13,3 +13,3 @@ import { SEMAPHORE } from "@thi.ng/api/api"; | ||
(acc) => { | ||
if (chunk && chunk.length) { | ||
if (chunk?.length) { | ||
acc = reduce(acc, chunk); | ||
@@ -16,0 +16,0 @@ chunk = null; |
@@ -11,3 +11,3 @@ import { __iter, iterator } from "./iterator.js"; | ||
(acc) => { | ||
if (chunk && chunk.length) { | ||
if (chunk?.length) { | ||
acc = reduce(acc, chunk); | ||
@@ -14,0 +14,0 @@ chunk = null; |
Sorry, the diff of this file is too big to display
367434
0.06%Updated
Updated