Skip to content
Snippets Groups Projects
  • Matt Wang's avatar
    197d18d8
    vendor: update `jekyll-anchor-headings`, `lunr.js` (#1071) · 197d18d8
    Matt Wang authored
    Closes #1070.
    
    This PR:
    
    - updates `jekyll-anchor-headings` to `1.0.12`; this was a simple copy-paste
    - updates `lunr.js` to `2.3.9`; this was a bit more involved:
        - I didn't see a minified build in the repo, so I ran it through [DigitalOcean's minifier](https://www.digitalocean.com/community/tools/minify)
        - copyright notices weren't properly included in the previous minified build, so I:
            - include an actual copy of the original MIT License for `lunr.js`
            - includes proper attribution for other functions, which include derivative works
    
    There's a tiny bundle size increase in `lunr.js` due to the comments, but I think that's reasonable given that it's related to licensing; still trivial in the grand scheme of things.
    
    As an aside: it would be neat if we could include minification as part of the build pipeline instead!  
    197d18d8
    History
    vendor: update `jekyll-anchor-headings`, `lunr.js` (#1071)
    Matt Wang authored
    Closes #1070.
    
    This PR:
    
    - updates `jekyll-anchor-headings` to `1.0.12`; this was a simple copy-paste
    - updates `lunr.js` to `2.3.9`; this was a bit more involved:
        - I didn't see a minified build in the repo, so I ran it through [DigitalOcean's minifier](https://www.digitalocean.com/community/tools/minify)
        - copyright notices weren't properly included in the previous minified build, so I:
            - include an actual copy of the original MIT License for `lunr.js`
            - includes proper attribution for other functions, which include derivative works
    
    There's a tiny bundle size increase in `lunr.js` due to the comments, but I think that's reasonable given that it's related to licensing; still trivial in the grand scheme of things.
    
    As an aside: it would be neat if we could include minification as part of the build pipeline instead!