Skip to content

Commit

Permalink
Upgrade tslog dependency from 4.8.2 to 4.9.0 (#4180)
Browse files Browse the repository at this point in the history
Co-authored-by: Siddharth Suresh <[email protected]>
  • Loading branch information
justinsmid and siddhsuresh authored Aug 14, 2023
1 parent 231c2ff commit 82649f3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 12 deletions.
9 changes: 9 additions & 0 deletions .changeset/clever-hornets-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"blitz": patch
"@blitzjs/next": patch
"@blitzjs/generator": patch
---

Upgrade tslog to `4.9.0`.

This due a [tslog issue](https://github.com/fullstack-build/tslog/issues/227) that causes tslog to crash when attempting to log an error whose constructor expects more than one argument.
2 changes: 1 addition & 1 deletion packages/blitz-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"react-dom": "18.2.0",
"resolve-from": "5.0.0",
"ts-jest": "27.1.4",
"tslog": "4.8.2",
"tslog": "4.9.0",
"typescript": "^4.8.4",
"unbuild": "0.7.6",
"watch": "1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/blitz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"tar": "6.1.11",
"ts-node": "10.9.1",
"tsconfig-paths": "4.0.0",
"tslog": "4.8.2",
"tslog": "4.9.0",
"watchpack": "2.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/blitz/src/logging.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ILogObj, ISettingsParam, Logger, IMeta} from "tslog"
import {ILogObj, ISettingsParam, Logger} from "tslog"
import c from "chalk"
import {Table} from "console-table-printer"
import ora from "ora"
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"prettier": "^2.7.1",
"recast": "0.20.5",
"supports-color": "8.1.1",
"tslog": "4.8.2",
"tslog": "4.9.0",
"username": "5.1.0",
"vinyl": "2.2.1",
"zod": "3.20.2"
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82649f3

Please sign in to comment.