From c85f98ce4d3f5d276e01614abc35be5e420ac7c6 Mon Sep 17 00:00:00 2001 From: Diana Morales Date: Tue, 4 Jan 2022 14:57:16 +0100 Subject: [PATCH] Move from fastify-warning to process-warning (#2855) --- packages/core/core/package.json | 2 +- packages/core/core/src/warning-utils.ts | 2 +- pnpm-lock.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/core/package.json b/packages/core/core/package.json index 0f2f79ee0..8a49ea3be 100644 --- a/packages/core/core/package.json +++ b/packages/core/core/package.json @@ -37,7 +37,7 @@ "http-errors": "1.8.1", "http-status-codes": "2.2.0", "semver": "7.3.5", - "fastify-warning": "0.2.0", + "process-warning": "1.0.0", "core-js": "3.17.2" }, "devDependencies": { diff --git a/packages/core/core/src/warning-utils.ts b/packages/core/core/src/warning-utils.ts index f3b51b77e..2b9df66fc 100644 --- a/packages/core/core/src/warning-utils.ts +++ b/packages/core/core/src/warning-utils.ts @@ -1,4 +1,4 @@ -import warning from 'fastify-warning'; +import warning from 'process-warning'; const warningInstance = warning(); const verdaccioWarning = 'VerdaccioWarning'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7611dbda..b6d16ae47 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -312,15 +312,15 @@ importers: specifiers: '@verdaccio/types': workspace:11.0.0-6-next.10 core-js: 3.17.2 - fastify-warning: 0.2.0 http-errors: 1.8.1 http-status-codes: 2.2.0 + process-warning: 1.0.0 semver: 7.3.5 dependencies: core-js: 3.17.2 - fastify-warning: 0.2.0 http-errors: 1.8.1 http-status-codes: 2.2.0 + process-warning: 1.0.0 semver: 7.3.5 devDependencies: '@verdaccio/types': link:../types