Skip to content

Commit 4f65c92

Browse files
authored
Updated dependencies (#1449)
Signed-off-by: Matteo Collina <[email protected]>
1 parent ab96a7c commit 4f65c92

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@
110110
"fast-redact": "^3.0.0",
111111
"on-exit-leak-free": "^1.0.0",
112112
"pino-abstract-transport": "v0.5.0",
113-
"pino-std-serializers": "^4.0.0",
113+
"pino-std-serializers": "^5.0.0",
114114
"process-warning": "^2.0.0",
115115
"quick-format-unescaped": "^4.0.3",
116116
"real-require": "^0.1.0",
117117
"safe-stable-stringify": "^2.1.0",
118-
"sonic-boom": "^2.2.1",
119-
"thread-stream": "^0.15.1"
118+
"sonic-boom": "^3.0.0",
119+
"thread-stream": "^1.0.0"
120120
},
121121
"tsd": {
122122
"directory": "test/types"

test/error.test.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -150,22 +150,6 @@ test('stack is omitted if it is not set on err', t => {
150150
instance[name](err)
151151
})
152152

153-
test('stack is rendered as any other property if it\'s not a string', t => {
154-
t.plan(3)
155-
const err = new Error('myerror')
156-
err.stack = null
157-
const instance = pino(sink(function (chunk, enc, cb) {
158-
t.ok(new Date(chunk.time) <= new Date(), 'time is greater than Date.now()')
159-
delete chunk.time
160-
t.equal(chunk.err.hasOwnProperty('stack'), true)
161-
t.equal(chunk.err.stack, null)
162-
cb()
163-
}))
164-
165-
instance.level = name
166-
instance[name](err)
167-
})
168-
169153
test('correctly ignores toString on errors', async ({ same }) => {
170154
const err = new Error('myerror')
171155
err.toString = () => undefined

0 commit comments

Comments
 (0)