@thi.ng/transducers
Advanced tools
Comparing version 8.9.5 to 8.9.6
# Change Log | ||
- **Last updated**: 2024-02-22T11:59:16Z | ||
- **Last updated**: 2024-02-22T23:15:26Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -12,2 +12,8 @@ | ||
### [8.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.9.6) (2024-02-22) | ||
#### ♻️ Refactoring | ||
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0)) | ||
### [8.9.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers@8.9.5) (2024-02-22) | ||
@@ -14,0 +20,0 @@ |
{ | ||
"name": "@thi.ng/transducers", | ||
"version": "8.9.5", | ||
"version": "8.9.6", | ||
"description": "Lightweight transducer implementations for ES6 / TypeScript", | ||
@@ -591,3 +591,3 @@ "type": "module", | ||
}, | ||
"gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n" | ||
"gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n" | ||
} |
@@ -10,10 +10,9 @@ import { isArray } from "@thi.ng/checks/is-array"; | ||
return iter; | ||
const { key, mergeOnly, reset, all, backPressure } = { | ||
key: identity, | ||
mergeOnly: false, | ||
reset: true, | ||
all: true, | ||
backPressure: 0, | ||
...args[1] | ||
}; | ||
const { | ||
key = identity, | ||
mergeOnly = false, | ||
reset = true, | ||
all = true, | ||
backPressure = 0 | ||
} = args[1]; | ||
const requiredKeys = isArray(args[0]) ? new Set(args[0]) : args[0]; | ||
@@ -20,0 +19,0 @@ const currKeys = /* @__PURE__ */ new Set(); |
@@ -9,7 +9,3 @@ import { __iter, iterator } from "./iterator.js"; | ||
const lineLength = args[0]; | ||
const { delim, always } = { | ||
delim: 1, | ||
always: true, | ||
...args[1] | ||
}; | ||
const { delim = 1, always = true } = args[1]; | ||
return partitionBy(() => { | ||
@@ -16,0 +12,0 @@ let n = 0; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
339371
6449