diff --git a/core/mappings.js b/core/mappings.js index b3d4b06e..9219991a 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -392,6 +392,7 @@ var mappings = { '@findify/bundle@{version}/dist/vendors~sentry.js': resources.findifyBundle, 'flv.js/dist/flv.min.js': resources.flvJS, 'hls.js/dist/hls.min.js': resources.hlsJS, + 'history@{version}/umd/history.min.js': resources.history, 'hls.js@latest': resources.hlsJS, 'jquery@{version}/dist/jquery.': resources.jQuery, 'jquery@{version}/dist/jquery.min.': resources.jQuery, diff --git a/core/resources.js b/core/resources.js index ce105e8e..6d69e7c9 100644 --- a/core/resources.js +++ b/core/resources.js @@ -345,6 +345,11 @@ var resources = { 'path': 'resources/google-material-design-icons/google-material-design-icons.css', 'type': 'text/css' }, + // history + 'history': { + 'path': 'resources/history/{version}/history.min.jsm', + 'type': 'application/javascript' + }, // hls.js 'hlsJS': { 'path': 'resources/hls.js/{version}/hls.min.jsm', diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index 0186dd0f..d4035bed 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -408,6 +408,8 @@ helpers.setLastVersion = function (type, version) { return '4.7.0'; } else if (type.includes('/fontawesome/5.')) { return '5.14.0'; + } else if (type.includes('/history/')) { + return '4.10.1'; } else if (type.includes('/hls.js/')) { return '0.13.2'; } else if (type.includes('/jets/0.')) { @@ -597,6 +599,7 @@ helpers.compareVersion = function (v1, v2) { }; const ListOfFiles = { + 'history.min.jsm': 'history', 'axios.min.jsm': 'Axios', 'object-assign.min.jsm': 'Object assign', 'slick-lightbox.css': 'slick-lightbox CSS', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index d6dd3a4d..44d7147d 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -27,6 +27,7 @@