Skip to content

Several extensions list the wrong SRI hash in website instructions #153

@danderson

Description

@danderson

The docs at https://htmx.org/extensions/ws/ specify the following script slug for the websocket extension:

<script src="https://unpkg.com/[email protected]" integrity="sha384-vuKxTKv5TX/b3lLzDKP2U363sOAoRo5wSvzzc3LJsbaQRSBSS+3rKKHcOx5J8doU" crossorigin="anonymous"></script>

This does not match the hash being served by unpkg: https://unpkg.com/[email protected]/ws.js?meta reports:

{
  "path": "/ws.js",
  "type": "file",
  "contentType": "application/javascript",
  "integrity": "sha384-932iIqjARv+Gy0+r6RTGrfCkCKS5MsF539Iqf6Vt8L4YmbnnWI2DSFoMD90bvXd0",
  "lastModified": "Sat, 26 Oct 1985 08:15:00 GMT",
  "size": 14714
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions