How much do you trust the 3rd-party scripts included on your site? Would you know if they changed and a malicious script was added?
Subresource Integrity solves this problem by defining a safe version and preventing any unexpected changes!
https://securinglaravel.com/p/security-tip-subresource-integrity#Laravel#PHP