Skip to content

Circular dependencies causing issues in node 18+ #361

Description

@afischer

Context (Environment)

There are three circular dependencies in the app that have been present for quite some time.

  • server/cache.js > server/urlParser.js > server/list.js
  • server/cache.js > server/urlParser.js > server/list.js > server/docs.js
  • server/list.js > server/docs.js > server/formatter.js

These have not caused issues in the past, but when using Node 18 in specific scenarios (so far only seen in linux environments), can cause critical errors in the app.

Solution

Remove the circular dependencies.

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 isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions