Skip to content

Pin Alpine.js CDN version instead of floating @3.x.x range #8

@TechNickAI

Description

@TechNickAI

Context

The principles page (and potentially other pages) loads Alpine.js via:

<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>

This floating range means any Alpine 3.x release automatically applies, which could introduce breaking changes or regressions without warning.

Suggestion

Pin to a specific version (e.g., alpinejs@3.14.9) and add SRI hashes for all CDN dependencies as a hardening pass.

Source

Flagged by claude[bot] in PR #7 review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions