Skip to content

Cleanup Unused and Outdated Dependencies #162

Description

@0xMurage

Preflight checklist

Ory Network Project

No response

Describe the bug

Is it a good time to update this reference project?

First, the csurf package is deprecated https://www.npmjs.com/package/csurf.

Additionally, some development dependencies, such as types, TypeScript, and the debug package, are currently installed as production dependencies.

Also, node-fetch, querystring, and serve-favicon packages are installed but no longer used

Cleaning this up will help reduce the image bundle size, avoiding unnecessary dependencies.

Reproducing the bug

  • Run npm audit to see all deprecated dependencies.
  • Search for the usage of node-fetch, querystring, and serve-favicon packages in the project.

Relevant log output

Relevant configuration

Version

2.4.0

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Docker Compose

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions