assets.toml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # Versioning and Subresource Integrity (SRI) for Academic's JavaScript and CSS dependencies
  2. # When updating the version of an asset below, please also update the corresponding SRI.
  3. # How to update the SRI for an entry:
  4. # echo -n "sha512-" && curl --silent "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML" | openssl dgst -sha512 -binary | openssl enc -base64 -A
  5. # Or, the SRI for the appropriate asset can be copied from https://cdnjs.com/ .
  6. # JavaScript
  7. [js.highlight]
  8. version = "10.2.1"
  9. sri = "sha512-Ypjm0o7jOxAd4hpdoppSEN0TQOC19UtPAqD+4s5AlXmUvbmmS/YMxYqAqarQYyxTnB6/rqip9qcxlNB/3U9Wdg=="
  10. url = "https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@%s/build/highlight.min.js"
  11. [js.highlight_lang]
  12. version = "10.2.1"
  13. sri = "" # No SRI as highlight language styles is determined at run time.
  14. url = "https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@%s/build/languages/%s.min.js"
  15. [js.mathJax]
  16. version = "3"
  17. sri = "" # No SRI as dynamically generated.
  18. url = "https://cdn.jsdelivr.net/npm/mathjax@%s/es5/tex-chtml.js"
  19. async = true
  20. [js.isotope]
  21. version = "3.0.6"
  22. sri = "sha512-Zq2BOxyhvnRFXu0+WE6ojpZLOU2jdnqbrM1hmVdGzyeCa1DgM3X5Q4A/Is9xA1IkbUeDd7755dNNI/PzSf2Pew=="
  23. url = "https://cdn.jsdelivr.net/gh/metafizzy/isotope@v%s/dist/isotope.pkgd.min.js"
  24. [js.imagesLoaded]
  25. version = "4.1.4"
  26. sri = "sha512-S5PZ9GxJZO16tT9r3WJp/Safn31eu8uWrzglMahDT4dsmgqWonRY9grk3j+3tfuPr9WJNsfooOR7Gi7HL5W2jw=="
  27. url = "https://cdn.jsdelivr.net/gh/desandro/imagesloaded@v%s/imagesloaded.pkgd.min.js"
  28. [js.gmaps]
  29. version = "0.4.25"
  30. sri = "sha512-gauu0VKZq9ry8hOZHgNpcB2ogbSDojs+XLDItpOLY0IyA+KigeuT/suwSdPgfU/TGYLAn4Nan4OeaCa/UPr70Q=="
  31. url = "https://cdn.jsdelivr.net/gh/hpneo/gmaps@%s/gmaps.min.js"
  32. [js.leaflet]
  33. version = "1.7.1"
  34. sri = "" # Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
  35. url = "https://cdn.jsdelivr.net/npm/leaflet@%s/dist/leaflet.min.js"
  36. [js.fancybox]
  37. version = "3.5.7"
  38. sri = "sha512-uURl+ZXMBrF4AwGaWmEetzrd+J5/8NRkWAvJx5sbPSSuOb0bZLqf+tOzniObO00BjHa/dD7gub9oCGMLPQHtQA=="
  39. url = "https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@%s/dist/jquery.fancybox.min.js"
  40. [js.fuse]
  41. version = "3.2.1"
  42. sri = "sha512-o38bmzBGX+hD3JHWUFCDA09btWaqrNmoJ3RXLlrysA7PP01Kgs4UlE4MhelE1v5dJR3+cxlR4qQlotsW7jKsnw=="
  43. url = "https://cdn.jsdelivr.net/gh/krisk/Fuse@v%s/dist/fuse.min.js"
  44. [js.mark]
  45. version = "8.11.1"
  46. sri = "sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg=="
  47. url = "https://cdn.jsdelivr.net/gh/julmot/mark.js@%s/dist/jquery.mark.min.js"
  48. [js.instantsearch]
  49. version = "4" # no SRI as we use latest major version
  50. url = "https://cdn.jsdelivr.net/npm/instantsearch.js@%s/dist/instantsearch.production.min.js"
  51. [js.anchor]
  52. version = "4.2.2"
  53. sri = "sha512-I7w3ZdSFzw5j3jU3ZkNikBNeIrl3i+hEuEdwNmqUJvwNcaBUNcijnP2gd9DtGlgVYDplfjGoD8vTNsID+lCjqg=="
  54. url = "https://cdn.jsdelivr.net/gh/bryanbraun/anchorjs@%s/anchor.min.js"
  55. [js.mermaid]
  56. version = "8.8.4"
  57. sri = "sha512-+TNmhaRJf3jyYHTpzEq/5I6b+aGyhzWb21mGdHAjxSGSYwxN9Grug3Y3B9qVxWfKKY8MscE/6mr9walWvFLFvQ=="
  58. url = "https://cdn.jsdelivr.net/gh/mermaid-js/mermaid@v%s/dist/mermaid.min.js"
  59. [js.cookieconsent]
  60. version = "3.1.1"
  61. sri = "sha512-yXXqOFjdjHNH1GND+1EO0jbvvebABpzGKD66djnUfiKlYME5HGMUJHoCaeE4D5PTG2YsSJf6dwqyUUvQvS0vaA=="
  62. url = "https://cdn.jsdelivr.net/gh/osano/cookieconsent@%s/build/cookieconsent.min.js"
  63. [js.plotly]
  64. version = "1.55.2"
  65. sri = "sha512-gttPT9uTUiaLBj6XZdcB0ydKXiDaBwstInkN4Qvp1Nz3iwXNc8TTQplIEPIGxyJBDqERjwkKxf2OyO47/0EHbQ=="
  66. url = "https://cdn.jsdelivr.net/gh/plotly/plotly.js@v%s/dist/plotly.min.js"
  67. # CSS
  68. [css.academicons]
  69. version = "1.9.1"
  70. sri = "sha512-W0xM4mr6dEP9nREo7Z9z+9X70wytKvMGeDsj7ps2+xg5QPrEBXC8tAW1IFnzjR6eoJ90JmCnFzerQJTLzIEHjA=="
  71. url = "https://cdn.jsdelivr.net/npm/academicons@%s/css/academicons.min.css"
  72. [css.leaflet]
  73. version = "1.7.1"
  74. sri = "" # Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
  75. url = "https://cdn.jsdelivr.net/npm/leaflet@%s/dist/leaflet.min.css"
  76. [css.fancybox]
  77. version = "3.5.7"
  78. sri = "sha512-H9jrZiiopUdsLpg94A333EfumgUBpO9MdbxStdeITo+KEIMaNfHNvwyjjDJb+ERPaRS6DpyRlKbvPUasNItRyw=="
  79. url = "https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@%s/dist/jquery.fancybox.min.css"
  80. [css.instantsearch]
  81. version = "7.4.5"
  82. sri = "sha256-TehzF/2QvNKhGQrrNpoOb2Ck4iGZ1J/DI4pkd2oUsBc="
  83. url = "https://cdn.jsdelivr.net/npm/instantsearch.css@%s/themes/satellite-min.css"
  84. [css.highlight]
  85. version = "10.2.1"
  86. sri = "" # No SRI as highlight style is determined at run time.
  87. url = "https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@%s/build/styles/%s.min.css"
  88. [css.cookieconsent]
  89. version = "3.1.1"
  90. sri = "sha512-LQ97camar/lOliT/MqjcQs5kWgy6Qz/cCRzzRzUCfv0fotsCTC9ZHXaPQmJV8Xu/PVALfJZ7BDezl5lW3/qBxg=="
  91. url = "https://cdn.jsdelivr.net/gh/osano/cookieconsent@%s/build/cookieconsent.min.css"