The JavaScript half of the pattern library, served as an ES module. Markup
opts in with data-hub-module attributes, which do nothing until
this file is on the page.
1.5.0, 19,011 bytes minified.
The floating URL for the major. Each release repoints it, so a fix arrives without the page being rebuilt.
<script type="module"
src="/hub-behaviours/v1/hub.min.js"></script>
Immutable, so it can carry an integrity hash. A module script is fetched
cross-origin, which is what the crossorigin attribute is for.
<script type="module" crossorigin="anonymous"
src="/hub-behaviours/1.5.0/hub.min.js"
integrity="sha384-v6LzUo2CdLDnVsLtbMGlNuTKq8OuznM5Ohgbp9+5WfI4OdE7Y6/GCE74lwNRXpNl"></script>
manifest.json lists each published version with its integrity hash and the date it was first served.