Using New Composer Packages Across Upgrades

Hi,

I have built an addon for our installation of CS-CART that updates specific administrators when a product has been updated, which fields have been updated and what the differences are.

Well almost... I am looking at bringing in a composer package to generate some HTML that visually shows what text changes have been made, for example, the product description.

How do you deal with adding composer packages to CS-CART and having them not cause a conflict with composer.json in /app/lib when an upgrade is performed...

Or is there a safer way to add 3rd party scripts to CS-CART.

Cheers,

Nathan