Skip to content

Commit ba31fc1

Browse files
authoredDec 28, 2021
Move from fastify-warning to process-warning (#1282)
Signed-off-by: Matteo Collina <hello@matteocollina.com>
1 parent 20afab9 commit ba31fc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/deprecations.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const warning = require('fastify-warning')()
3+
const warning = require('process-warning')()
44
module.exports = warning
55

66
const warnName = 'PinoWarning'

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
},
104104
"dependencies": {
105105
"fast-redact": "^3.0.0",
106-
"fastify-warning": "^0.2.0",
106+
"process-warning": "^1.0.0",
107107
"on-exit-leak-free": "^0.2.0",
108108
"pino-abstract-transport": "v0.5.0",
109109
"pino-std-serializers": "^4.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.