diff --git a/core/resources.js b/core/resources.js index 04da91d8..5b7f59c6 100644 --- a/core/resources.js +++ b/core/resources.js @@ -524,6 +524,11 @@ var resources = { 'path': 'resources/nvd3/{version}/nv.d3.min.css', 'type': 'text/css' }, + // object-assign + 'objectAssign': { + 'path': 'resources/object-assign/{version}/object-assign.min.jsm', + 'type': 'application/javascript' + }, // ocLazyLoad 'ocLazyLoad': { 'path': 'resources/oclazyload/{version}/ocLazyLoad.min.jsm', diff --git a/core/shorthands.js b/core/shorthands.js index 0834a147..b8d6d4bd 100644 --- a/core/shorthands.js +++ b/core/shorthands.js @@ -101,6 +101,13 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) { 'path': 'resources/rocket-loader/latest/rocket-loader.min.jsm', 'bundle': '' }; + } else if ((channelHost + channelPath) === 'unpkg.com/@umds/object-assign@4.1.1-beta.24/object-assign.min.js') { + return { + 'source': channelHost, + 'versionRequested': '4.1.1', + 'path': 'resources/object-assign/4.1.1/object-assign.min.jsm', + 'bundle': '' + }; } else { return false; } diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index 939d00db..26423968 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -481,6 +481,8 @@ helpers.setLastVersion = function (type, version) { } else if (type.includes('/mootools/1.')) { if (helpers.compareVersion('1.4.5', version)) return '1.4.5'; // <= v1.4.5 else return '1.6.0'; // > 1.4.5 + } else if (type.includes('/object-assign@4.')) { + return '4.1.1'; } else if (type.includes('/oclazyload/1.')) { return '1.1.0'; } else if (type.includes('/owl-carousel/1.')) { @@ -593,6 +595,7 @@ helpers.compareVersion = function (v1, v2) { }; const ListOfFiles = { + 'object-assign.min.jsm': 'Object assign', 'slick-lightbox.css': 'slick-lightbox CSS', 'slick-lightbox.min.jsm': 'slick-lightbox JS', 'noframework.waypoints.min.jsm': 'Waypoints (Bundle)', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 2bf123ca..be072632 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,7 +25,7 @@ New in LocalCDN: