The library your page loads from a CDN is not the same file it was yesterday, and the page runs it without noticing. If a scan told you that integrity is missing, this article covers what SRI does and how to add it.
The short answer: pin the scripts and styles you load from elsewhere to a hash of their contents . That is SRI. If the hash does not match, the browser refuses the file.
External files are borrowed goods
Picture a parcel arriving from a shop. You check the model number against your order before using it. If it does not match, you send it back. You confirm the contents first, then use them.
Scripts and styles loaded from outside are the same. The file is not yours; it sits on someone else's server, and your page borrows it to run.
While you borrow it, nothing guarantees the contents stay the same.…