Skip to content

Bump tslog from 3.3.4 to 4.10.2 - #251

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/tslog-4.10.2
Open

Bump tslog from 3.3.4 to 4.10.2#251
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/tslog-4.10.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2025

Copy link
Copy Markdown
Contributor

Bumps tslog from 3.3.4 to 4.10.2.

Release notes

Sourced from tslog's releases.

v4.10.2

  • Fix CJS build, add README to dist folder e1bdfd7

fullstack-build/tslog@v4.10.1...v4.10.2

v4.10.0

Changelog

[4.10.0] - 2025-09-25

Breaking

  • Custom transportFormatted overrides now receive logMeta as the fourth argument; pass five parameters to also receive settings, otherwise adjust implementations that previously read settings from the fourth position.
  • Deprecated runtime entry points under src/runtime/** and related browser mappings have been removed; use the primary Logger export instead of importing runtime-specific helpers.
  • Logger metadata now exposes lowercase runtime identifiers (for example node, browser, deno, bun, worker) and normalized versions without the leading v; adjust consumers that compared against Nodejs or relied on the old format.

Added

  • Introduced universal runtime detection that recognises Node.js, browsers, web workers, Deno, and Bun, enriching metadata with runtime versions and hostnames when available.
  • Documented first-class Deno and Bun usage, refreshed examples under examples/server, and aligned development scripts (npm run dev-ts*).
  • Pretty transports now detect when the browser console supports CSS, rendering styled output with %c tokens and gracefully falling back when styling is unavailable.
  • Error formatting captures chained Error.cause entries (up to depth five) and includes them in both pretty error blocks and JSON error objects.

Changed

  • The core logger automatically locates the first user stack frame instead of relying on hard-coded depths, producing stable file and line metadata across bundlers; manual stackDepthLevel overrides continue to work.
  • Placeholder formatting now routes through a shared buildPrettyMeta utility, improving consistency for custom templates and nested style tokens.
  • Masking internals normalise and cache case-insensitive keys, reducing repeated allocations and keeping behaviour consistent when toggling mask options.
  • Browser styling defaults keep ANSI colouring enabled unless explicitly disabled, letting CSS-capable consoles honour stylePrettyLogs without runtime-specific tweaks.

Fixed

  • Runtime error detection now treats objects with an Error-suffixed name as errors, ensuring they are formatted via the error transport.
  • Browser stack parsing guards against malformed frames, avoiding crashes when devtools emit unexpected stack entries.
  • Logging no longer fails when process.cwd() throws (for example under restricted permissions); environment helpers fall back to cached working directories and hostname detection across Node, Deno, and Bun.

v4.9.3

  • Fix _extend fn - alter provided object 135ee61

fullstack-build/tslog@v4.9.2...v4.9.3

v4.9.2

  • Add more tests for some types 1e93acc
  • Merge pull request #259 from vktrl/master 3044fce
  • add null test for node be1e549
  • fix undefined check, add null test for browser d510305
  • Merge pull request #257 from fullstack-build/development 6ab687e
  • Fix docs, fix #256 c24f7e1

fullstack-build/tslog@v4.9.1...v4.9.2

v4.9.1

... (truncated)

Commits
  • d01f3b1 4.10.2
  • e1bdfd7 Fix CJS build, add README to dist folder
  • ebfaae2 4.10.1
  • 8972e46 Refactor pre-commit hook to remove npm availability check
  • 341df8e Enhance pre-commit hook to check for npm availability and update package.json...
  • bfb0612 4.10.0
  • b75717b Revert version number to 4.9.3 in package.json
  • fd6c874 4.10.0
  • 44ec62a Add pre-commit hook script to manage pre-commit tasks
  • aaff730 Fix path in np configuration to remove leading dot in contents
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [tslog](https://github.com/fullstack-build/tslog) from 3.3.4 to 4.10.2.
- [Release notes](https://github.com/fullstack-build/tslog/releases)
- [Changelog](https://github.com/fullstack-build/tslog/blob/master/CHANGELOG.md)
- [Commits](fullstack-build/tslog@v3.3.4...v4.10.2)

---
updated-dependencies:
- dependency-name: tslog
  dependency-version: 4.10.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants