diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 74730a4f..503bbf57 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1719,6 +1719,7 @@ https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/css/swiper.min.css https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.1/js/swiper.min.js https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/css/swiper.min.css https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/js/swiper.min.js +https://cdnjs.cloudflare.com/ajax/libs/tensorflow/4.1.0/tf.min.js https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.7/js/tether.min.js https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/icons/default/icons.min.js https://cdnjs.cloudflare.com/ajax/libs/tinymce/5.10.5/jquery.tinymce.min.js diff --git a/core/mappings.js b/core/mappings.js index d6ea89c8..9e032599 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -504,6 +504,8 @@ mappings.cdn = { 'Swiper/{version}/swiper-bundle.js': resources.swiperJS, 'Swiper/{version}/swiper-bundle.min.css': resources.swiperCSS, 'Swiper/{version}/swiper-bundle.css': resources.swiperCSS, + 'tensorflow/{version}/tf.min.js': resources.tensorflow, + 'tensorflow/{version}/tf.js': resources.tensorflow, 'tether/{version}/js/tether.': resources.tetherJS, 'tinymce/{version}/': resources.tinymce, 'tooltipster/{version}/js/jquery.tooltipster.': resources.jQueryTooltipster, @@ -711,6 +713,8 @@ mappings.cdn = { 'slick-carousel@{version}/slick/slick.css': resources.slickCarouselCSS, 'slick-carousel@{version}/slick/slick.min.js': resources.slickCarouselJS, 'slick-carousel@{version}/slick/slick.js': resources.slickCarouselJS, + '@tensorflow/tfjs@{version}/dist/tf.min.js': resources.tensorflow, + '@tensorflow/tfjs@{version}/dist/tf.js': resources.tensorflow, 'underscore@{version}/underscore.': resources.underscore, 'underscore@{version}/underscore-min.': resources.underscore, 'urlize.js/urlize.js': resources.urlize, diff --git a/core/resources.js b/core/resources.js index 9224205f..81bd61fd 100644 --- a/core/resources.js +++ b/core/resources.js @@ -1065,6 +1065,10 @@ var resources = { 'swiperCSS': { 'path': 'resources/Swiper/{version}/css/swiper.min.css' }, + // tensorflow + 'tensorflow': { + 'path': 'resources/tensorflow/{version}/tf.min.jsm' + }, // Tether JS [Deprecated] 'tetherJS': { 'path': 'resources/tether/{version}/js/tether.min.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 5d42b094..cff5bd8d 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -449,6 +449,9 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/Swiper/6.')) return '6.8.4'; if (type.startsWith('/Swiper/7.')) return '7.4.1'; if (type.startsWith('/Swiper/8.') || type.startsWith('/Swiper/')) return '8.4.5'; + if (type.startsWith('/tensorflow/2.')) return '4.1.0'; + if (type.startsWith('/tensorflow/3.')) return '4.1.0'; + if (type.startsWith('/tensorflow/4.')) return '4.1.0'; if (type.startsWith('/tether/1.')) return '1.4.7'; if (type.startsWith('/tinymce/5.')) return '5.10.5'; if (type.startsWith('/tinymce/6.')) return '6.3.1'; @@ -506,6 +509,7 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'tf.min.jsm': 'tensorflow', 'nprogress.min.jsm': 'nprogress (JS)', 'nprogress.min.css': 'nprogress (CSS)', 'swagger-ui-bundle.min.jsm': 'Swagger-UI (JS)', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index ad76002a..fb8c4dfc 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -41,6 +41,7 @@

Added

Improved