Skip to content

feat: add helpers to parse Size and Duration from string#1092

Merged
Cafe137 merged 2 commits intomasterfrom
feat/parse-size-and-duration-from-string
Oct 1, 2025
Merged

feat: add helpers to parse Size and Duration from string#1092
Cafe137 merged 2 commits intomasterfrom
feat/parse-size-and-duration-from-string

Conversation

@Cafe137
Copy link
Copy Markdown
Collaborator

@Cafe137 Cafe137 commented Oct 1, 2025

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 1, 2025

File Coverage Now Coverage Before Delta% Rating
Total 2026 / 2468 2024 / 2466 0.01 🟢
bee-dev.ts 5 / 14 5 / 14 0.00
bee.ts 370 / 445 370 / 445 0.00
index.ts 16 / 16 16 / 16 0.00
chunk/bmt.ts 15 / 16 15 / 16 0.00
chunk/cac.ts 19 / 21 19 / 21 0.00
chunk/soc.ts 60 / 61 60 / 61 0.00
feed/identifier.ts 5 / 5 5 / 5 0.00
feed/index.ts 82 / 84 82 / 84 0.00
feed/retrievable.ts 18 / 19 18 / 19 0.00
manifest/manifest.ts 213 / 228 213 / 228 0.00
modules/bytes.ts 20 / 25 20 / 25 0.00
modules/bzz.ts 30 / 31 30 / 31 0.00
modules/chunk.ts 14 / 14 14 / 14 0.00
modules/envelope.ts 7 / 7 7 / 7 0.00
modules/feed.ts 22 / 24 22 / 24 0.00
modules/grantee.ts 21 / 21 21 / 21 0.00
modules/gsoc.ts 10 / 11 10 / 11 0.00
modules/pinning.ts 19 / 20 19 / 20 0.00
modules/pss.ts 11 / 12 11 / 12 0.00
modules/rchash.ts 5 / 7 5 / 7 0.00
modules/soc.ts 10 / 10 10 / 10 0.00
modules/status.ts 5 / 10 5 / 10 0.00
modules/stewardship.ts 11 / 11 11 / 11 0.00
modules/tag.ts 19 / 20 19 / 20 0.00
modules/debug/balance.ts 26 / 26 26 / 26 0.00
modules/debug/chequebook.ts 40 / 58 40 / 58 0.00
modules/debug/connectivity.ts 28 / 35 28 / 35 0.00
modules/debug/settlements.ts 18 / 18 18 / 18 0.00
modules/debug/stake.ts 21 / 32 21 / 32 0.00
modules/debug/stamps.ts 58 / 60 58 / 60 0.00
modules/debug/states.ts 24 / 29 24 / 29 0.00
modules/debug/status.ts 34 / 36 34 / 36 0.00
modules/debug/transactions.ts 18 / 27 18 / 27 0.00
stamper/stamper.ts 21 / 21 21 / 21 0.00
types/debug.ts 8 / 12 8 / 12 0.00
types/index.ts 21 / 21 21 / 21 0.00
utils/bytes.ts 41 / 53 41 / 53 0.00
utils/chunk-size.ts 9 / 9 9 / 9 0.00
utils/chunk-stream.browser.ts 0 / 55 0 / 55 0.00
utils/chunk-stream.ts 57 / 63 57 / 63 0.00
utils/cid.ts 22 / 23 22 / 23 0.00
utils/collection.browser.ts 0 / 4 0 / 4 0.00
utils/collection.node.ts 29 / 33 29 / 33 0.00
utils/collection.ts 14 / 18 14 / 18 0.00
utils/constants.ts 7 / 7 7 / 7 0.00
utils/data.browser.ts 0 / 8 0 / 8 0.00
utils/data.ts 4 / 11 4 / 11 0.00
utils/duration.ts 20 / 22 19 / 21 0.43 🟢
utils/error.ts 12 / 12 12 / 12 0.00
utils/expose.ts 13 / 13 13 / 13 0.00
utils/file.ts 8 / 12 8 / 12 0.00
utils/headers.ts 62 / 71 62 / 71 0.00
utils/http.ts 32 / 37 32 / 37 0.00
utils/mime.ts 1 / 1 1 / 1 0.00
utils/pss.ts 5 / 5 5 / 5 0.00
utils/redundancy.ts 32 / 44 32 / 44 0.00
utils/resource-locator.ts 7 / 7 7 / 7 0.00
utils/size.ts 12 / 14 11 / 13 1.10 🟢
utils/stamps.ts 45 / 63 45 / 63 0.00
utils/tar-uploader.browser.ts 0 / 11 0 / 11 0.00
utils/tar-uploader.ts 12 / 12 12 / 12 0.00
utils/tar-writer.browser.ts 0 / 8 0 / 8 0.00
utils/tar-writer.ts 13 / 14 13 / 14 0.00
utils/tar.browser.ts 0 / 40 0 / 40 0.00
utils/tar.ts 36 / 39 36 / 39 0.00
utils/tokens.ts 24 / 37 24 / 37 0.00
utils/type.ts 78 / 100 78 / 100 0.00
utils/typed-bytes.ts 85 / 86 85 / 86 0.00
utils/url.ts 11 / 15 11 / 15 0.00
utils/workaround.ts 11 / 14 11 / 14 0.00

@Cafe137 Cafe137 merged commit 7ab5604 into master Oct 1, 2025
@Cafe137 Cafe137 deleted the feat/parse-size-and-duration-from-string branch October 1, 2025 13:26
@bee-worker
Copy link
Copy Markdown
Collaborator

Release v10.1.0 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants