Added: libsodium.js v0.5.4 (#158)

This commit is contained in:
nobody 2020-11-01 17:37:32 +01:00
parent 466b08da64
commit b0055f11a7
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
5 changed files with 42 additions and 0 deletions

View File

@ -286,6 +286,7 @@ mappings.cdn = {
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
'libphonenumber-js/{version}/libphonenumber-js.': resources.libphonenumber,
'libsodium-wrappers/{version}/sodium.min.js': resources.libsodiumJS,
'lodash.js/{version}/lodash.': resources.lodashJS,
'markdown-it/{version}/markdown-it.': resources.markdownIt,
'materialize/{version}/css/materialize.': resources.materializeCSS,

View File

@ -506,6 +506,11 @@ var resources = {
'path': 'resources/libphonenumber-js/{version}/libphonenumber-js.min.jsm',
'type': 'application/javascript'
},
// libsodium.js
'libsodiumJS': {
'path': 'resources/libsodium.js/{version}/sodium.min.jsm',
'type': 'application/javascript'
},
// Lodash
'lodashJS': {
'path': 'resources/lodash.js/{version}/lodash.min.jsm',

View File

@ -499,6 +499,8 @@ helpers.setLastVersion = function (type, version) {
return '4.1.8';
} else if (type.includes('/libphonenumber-js/1.')) {
return '1.7.53';
} else if (type.includes('/libsodium.js/0.')) {
return '0.5.4';
} else if (type.includes('/lodash.js/4.')) {
return '4.17.10';
} else if (type.includes('/lodash.js/3.')) {
@ -649,6 +651,7 @@ helpers.compareVersion = function (v1, v2) {
};
const ListOfFiles = {
'sodium.min.jsm': 'libsodium.js',
'polyfill.min.jsm': 'Babel Polyfill',
'video-js.min.css': 'Video.js (CSS)',
'video.min.jsm': 'Video.js (JS)',

View File

@ -26,6 +26,7 @@
</div>
<ul>
<li>Added: Babel-Polyfill v7.12.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/157">#157</a>)</li>
<li>Added: libsodium.js v0.5.4 (<a href="https://codeberg.org/nobody/LocalCDN/issues/158">#158</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">

File diff suppressed because one or more lines are too long