I realize that I can generate the hash myself, but that’s not a permanent solution if the source file could change without warning.
Can I use this integrity hash and expect the DocSearch JS file not to change?
script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3" integrity="sha256-9YwDyZ6nUsvEuYEWMqPqiCUZ+3ykeo4PJ+wNy8NTIBM=%"
(Edit: Discourse blocks my post when it has a valid
script HTMl tag, hence the modified code above.)