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
FileDiff.vueimportscreatePatchfromdiff, butdiffis 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
diffas an explicit dependency in thepackage.jsonfor Dashboard root andshell/.Acceptance criteria
diffis declared as a dependency for both the rootpackage.jsonand inshell/FileDiff.vuecontinues to work as expected