diff --git a/lib/utils.js b/lib/utils.js index be0e5259..60bacd16 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,7 +1,7 @@ 'use strict' const clone = require('rfdc')({ circles: true }) -const dateformat = require('dateformat') +const dateformat = require('@matteo.collina/dateformat') const stringifySafe = require('fast-safe-stringify') const defaultColorizer = require('./colors')() const { diff --git a/package.json b/package.json index f74ae59e..c493f8b7 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "dependencies": { "args": "^5.0.1", "colorette": "^2.0.0", - "dateformat": "^4.6.3", + "@matteo.collina/dateformat": "^5.0.1", "fast-safe-stringify": "^2.0.7", "joycon": "^3.0.0", "pino-abstract-transport": "^0.3.0", diff --git a/test/basic.test.js b/test/basic.test.js index 1fb2c030..7aaf3c0d 100644 --- a/test/basic.test.js +++ b/test/basic.test.js @@ -4,7 +4,7 @@ const { Writable } = require('readable-stream') const os = require('os') const test = require('tap').test const pino = require('pino') -const dateformat = require('dateformat') +const dateformat = require('@matteo.collina/dateformat') const pinoPretty = require('..') const _prettyFactory = pinoPretty.prettyFactory