Update dependency @larvit/log to v2.6.1 #246
Reference in New Issue
Block a user
Delete Branch "renovate/larvit-log-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.5.0→2.6.1Release Notes
larvit/log (@larvit/log)
v2.6.1Compare Source
The code behind the OTLP export and
log.fetchis 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.0Compare Source
Trace and span ids can be made predictable in a test, through the new
randomBytesoption. Thesource map now matches the published file, and the type declarations moved to
types/. Nothinghere needs a change in your code.
index.js.mapthat matches the minifiedindex.js. The map used to describe thebuild before minifying, so a stack trace mapped to the wrong place. It now names the source
modules the file is built from.
types/, no longer inindex.d.ts. The package'stypesentry points there, so an import of
@larvit/logresolves its types as before.randomBytesto control the random bytes behind each trace and span id aLogmakes. Atest 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, andlog.conf.randomBytesreadsback the function in use.
generateTraceId()andgenerateSpanId()don't use it.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)
🚦 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.
This PR has been generated by Mend Renovate CLI.
884fcc1398tobe8f198b00