tangled
alpha
login
or
join now
sajidanwar.com
/
atcute
forked from
mary.my.id/atcute
0
fork
atom
a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
0
fork
atom
overview
issues
pulls
pipelines
chore(cbor): fix linter warning
mary.my.id
1 month ago
9a18e533
9cd053c2
verified
This commit was signed with the committer's
known signature
.
mary.my.id
SSH Key Fingerprint:
SHA256:ZlTP/auFSGpGnaoDg4mCTG1g9OZvXp62jWR4c6H4O3c=
+1
-1
1 changed file
expand all
collapse all
unified
split
packages
utilities
cbor
lib
firehose.bench.ts
+1
-1
packages/utilities/cbor/lib/firehose.bench.ts
···
189
189
190
190
const stripUndefined = (value: unknown): unknown => {
191
191
if (Array.isArray(value)) {
192
192
-
const out = new Array(value.length);
192
192
+
const out = Array.from({ length: value.length });
193
193
for (let i = 0; i < value.length; i++) {
194
194
out[i] = stripUndefined(value[i]);
195
195
}