Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated warnings #12026

Closed
3 tasks done
abdonrd opened this issue Mar 7, 2022 · 1 comment
Closed
3 tasks done

Fix deprecated warnings #12026

abdonrd opened this issue Mar 7, 2022 · 1 comment

Comments

@abdonrd
Copy link
Contributor

abdonrd commented Mar 7, 2022

Preflight Checklist

Describe the Bug

When you install Directus, you see this deprecations warnings:

npm WARN deprecated @types/pino@7.0.5: This is a stub types definition. pino provides its own type definitions, so you do not need this installed.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated fastify-warning@0.2.0: This module renamed to process-warning
npm WARN deprecated @types/cssnano@5.1.0: This is a stub types definition. cssnano provides its own type definitions, so you do not need this installed.
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

They are not a bug, but it would be great to remove them.

To Reproduce

Just install Directus.

Errors Shown

No response

What version of Directus are you using?

9.6.0

What version of Node.js are you using?

16

What database are you using?

Postgres 14

What browser are you using?

Chrome

What operating system are you using?

macOS Monterey (12)

How are you deploying Directus?

Running locally

@rijkvanzanten
Copy link
Member

A lot of these are dependencies of sub-dependencies of sub-dependencies of sub-dependencies, which makes it quite difficult for us to update them, without opening PRs to all of those dependencies to fix their own dependencies. Even worse; a lot of these are sub-dependencies of dev-dependencies, which makes it pointless for us to pursue..

I'll move this to a discussion, as it's more an ongoing target than a single fix we can apply

@directus directus locked and limited conversation to collaborators Mar 11, 2022
@rijkvanzanten rijkvanzanten converted this issue into discussion #12119 Mar 11, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants