Skip to content

Declare diff as a direct dependency #17401

@rak-phillip

Description

@rak-phillip

FileDiff.vue imports createPatch from diff, but diff is a transitive dependency. In the past, we've experienced breakages when transitive dependencies changed without notice. We also want to keep our dependency policy explicit for improved security and maintenance.

Proposed solution

Add diff as an explicit dependency in the package.json for Dashboard root and shell/.

Acceptance criteria

  • diff is declared as a dependency for both the root package.json and in shell/
  • FileDiff.vue continues to work as expected

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions