Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Wintersmith with Metalsmith #18248

Merged
merged 1 commit into from
Jun 15, 2024

Commits on Jun 14, 2024

  1. Replace Wintersmith with Metalsmith

    Wintersmith is no longer maintained given that the most recent version
    is from six years ago, and all vulnerabilities that NPM reports
    originate from Wintersmith's dependencies. Metalsmith, and its plugins,
    on the other hand have recently had releases and don't have known
    vulnerabilities. In fact, the number of reported vulnerabilities by NPM
    even goes down to zero with this patch applied.
    
    This commit therefore replaces Wintersmith with Metalsmith by providing
    a transparent drop-in replacement, in a way that requires the least
    amount of changes to the code and the generated output.
    
    Note that this patch does update our versions of jQuery, Bootstrap and
    the Highlight.js theme because the previous versions were very outdated
    and didn't work correctly with Metalsmith. Moreover, those old versions
    contained vulnerabilities that are hereby fixed.
    
    Fixes mozilla#18198.
    timvandermeij committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    ce7cdf4 View commit details
    Browse the repository at this point in the history