diff --git a/core/shorthands.js b/core/shorthands.js index bd670bdb..e758ed4b 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -273,6 +273,21 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': `resources/webcomponentsjs/${lastVersion}/webcomponents-loader.min.jsm`, 'bundle': '' }; + } else if (CompleteURL.startsWith('unpkg.com/aos@next/dist/aos.')) { + let file; + lastVersion = targets.setLastVersion('/aos/latest'); + if (channelPath.endsWith('js')) { + file = 'aos.jsm'; + } else { + file = 'aos.css'; + } + return { + 'source': channelHost, + 'versionDelivered': lastVersion, + 'versionRequested': 'next', + 'path': `resources/aos/${lastVersion}/${file}`, + 'bundle': '' + }; } return { 'result': false, diff --git a/modules/internal/targets.js b/modules/internal/targets.js index a8c1a21a..7ea18776 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -131,7 +131,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/autocomplete.js/1.')) return '1.5.4'; if (type.startsWith('/angular-material/1.') || type.startsWith('/angular-material/0.')) return '1.2.5'; if (type.startsWith('/angular-translate/2.')) return '2.19.0'; - if (type.startsWith('/aos/2.')) return '2.3.4'; + if (type.startsWith('/aos/2.') || type.startsWith('/aos/latest')) return '2.3.4'; if (type.startsWith('/appboy-web-sdk/3.')) return '3.5.1'; if (type.startsWith('/asciinema-player/2.')) return '2.6.1'; if (type.startsWith('/axios/0.')) return '0.27.2'; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 2dda65b3..f9441dd4 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -53,6 +53,10 @@
  • HTML filter active by default (#1249)
  • Bootstrap: Redirect alpha and beta versions to the stable version (#1265)
  • +

    Mapping

    +