Update dependency @larvit/log to v2.6.1 #246

Merged
renovate-bot merged 1 commits from renovate/larvit-log-2.x into main 2026-11-16 05:26:03 +01:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@larvit/log 2.5.0 → 2.6.1 age confidence

Release Notes

larvit/log (@​larvit/log)

v2.6.1

Compare Source

The code behind the OTLP export and log.fetch is reorganised so it is easier to read and test.
Behaviour and the API are unchanged, so nothing here needs a change in your code.

v2.6.0

Compare Source

Trace and span ids can be made predictable in a test, through the new randomBytes option. The
source map now matches the published file, and the type declarations moved to types/. Nothing
here needs a change in your code.

  • Ship an index.js.map that matches the minified index.js. The map used to describe the
    build before minifying, so a stack trace mapped to the wrong place. It now names the source
    modules the file is built from.
  • Find the type declarations under types/, no longer in index.d.ts. The package's types
    entry points there, so an import of @larvit/log resolves its types as before.
  • Pass randomBytes to control the random bytes behind each trace and span id a Log makes. A
    test can hand back fixed bytes and check the ids exactly. Unset, ids come from Web Crypto, else
    Math.random, as before; a child and a clone inherit the option, and log.conf.randomBytes reads
    back the function in use. generateTraceId() and generateSpanId() don't use it.
  • Leave out the second parameter that new Log() now shows in its types. clone() passes it,
    it is not part of the API, and 3.0.0 removes it.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@larvit/log](https://github.com/larvit/log) | [`2.5.0` → `2.6.1`](https://renovatebot.com/diffs/npm/@larvit%2flog/2.5.0/2.6.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@larvit%2flog/2.6.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@larvit%2flog/2.5.0/2.6.1?slim=true) | --- ### Release Notes <details> <summary>larvit/log (@&#8203;larvit/log)</summary> ### [`v2.6.1`](https://github.com/larvit/log/blob/HEAD/CHANGELOG.md#v261) [Compare Source](https://github.com/larvit/log/compare/v2.6.0...v2.6.1) The code behind the OTLP export and `log.fetch` is reorganised so it is easier to read and test. Behaviour and the API are unchanged, so nothing here needs a change in your code. ### [`v2.6.0`](https://github.com/larvit/log/blob/HEAD/CHANGELOG.md#v260) [Compare Source](https://github.com/larvit/log/compare/v2.5.0...v2.6.0) Trace and span ids can be made predictable in a test, through the new `randomBytes` option. The source map now matches the published file, and the type declarations moved to `types/`. Nothing here needs a change in your code. - **Ship an `index.js.map` that matches the minified `index.js`.** The map used to describe the build before minifying, so a stack trace mapped to the wrong place. It now names the source modules the file is built from. - **Find the type declarations under `types/`, no longer in `index.d.ts`.** The package's `types` entry points there, so an import of `@larvit/log` resolves its types as before. - **Pass `randomBytes` to control the random bytes behind each trace and span id a `Log` makes.** A test can hand back fixed bytes and check the ids exactly. Unset, ids come from Web Crypto, else `Math.random`, as before; a child and a clone inherit the option, and `log.conf.randomBytes` reads back the function in use. `generateTraceId()` and `generateSpanId()` don't use it. - **Leave out the second parameter that `new Log()` now shows in its types.** `clone()` passes it, it is not part of the API, and 3.0.0 removes it. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-11-15 05:18:52 +01:00
renovate-bot added 1 commit 2026-11-16 05:18:10 +01:00
Update dependency @larvit/log to v2.6.1
CI / full-gate (push) Successful in 4m16s
Mirror / github-mirror (push) Successful in 3s
Release / retag-image (push) Successful in 18s
Release / publish-overview (push) Successful in 3s
be8f198b00
Release-Bump: minor
renovate-bot force-pushed renovate/larvit-log-2.x from 884fcc1398 to be8f198b00 2026-11-16 05:18:10 +01:00 Compare
renovate-bot merged commit be8f198b00 into main 2026-11-16 05:26:03 +01:00
renovate-bot deleted branch renovate/larvit-log-2.x 2026-11-16 05:26:03 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/plainpages#246