Updated: cdn.jsdelivr.net (UNPKG)
This commit is contained in:
parent
9020366591
commit
03af7a00ec
|
@ -104,8 +104,38 @@ var mappings = {
|
|||
}
|
||||
}
|
||||
},
|
||||
// jsDelivr (MaxCDN)
|
||||
// jsDelivr (Cloudflare)
|
||||
'cdn.jsdelivr.net': {
|
||||
'/npm/': {
|
||||
'angular@{version}/angular.': resources.angular,
|
||||
'angular@{version}/angular.min.': resources.angular,
|
||||
'backbone@{version}/backbone.': resources.backbone,
|
||||
'backbone@{version}/backbone-min.': resources.backbone,
|
||||
'backbone@{version}/backbone.min.': resources.backbone,
|
||||
'dojo@{version}/dojo.': resources.dojo,
|
||||
'ember-source@{version}/dist/ember.': resources.ember,
|
||||
'ember-source@{version}/dist/ember.min.': resources.ember,
|
||||
'ember-source@{version}/dist/legacy/ember.': resources.ember,
|
||||
'ember-source@{version}/dist/legacy/ember.min.': resources.ember,
|
||||
'jquery@{version}/dist/jquery.': resources.jQuery,
|
||||
'jquery@{version}/dist/jquery.min.': resources.jQuery,
|
||||
'jquery-ui@{version}/jquery-ui.js': resources.jQueryUI,
|
||||
'jquery-ui@{version}/jquery-ui.min.js': resources.jQueryUI,
|
||||
'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI,
|
||||
'jquery-ui-dist@{version}/jquery-ui.min.js': resources.jQueryUI,
|
||||
'npm-modernizr@{version}/modernizr.': resources.modernizr,
|
||||
'npm-modernizr@{version}/modernizr.min.': resources.modernizr,
|
||||
'moment@{version}/moment.': resources.moment,
|
||||
'moment@{version}/moment.min.': resources.moment,
|
||||
'mootools@{version}/lib/mootools-core-{version}-server.': resources.mootools,
|
||||
'mootools@{version}/lib/mootools-core-{version}-server.min.': resources.mootools,
|
||||
'swfobject@{version}/index.js': resources.swfobject,
|
||||
'scriptaculous-js@{version}/scriptaculous.': resources.scriptaculous,
|
||||
'underscore@{version}/underscore.': resources.underscore,
|
||||
'underscore@{version}/underscore-min.': resources.underscore,
|
||||
'webfontloader@{version}/webfontloader.': resources.webfont
|
||||
},
|
||||
// Deprecated (?)
|
||||
'/': {
|
||||
'angularjs/{version}/angular.': resources.angular,
|
||||
'backbonejs/{version}/backbone.': resources.backbone,
|
||||
|
@ -420,3 +450,9 @@ mappings['sdn.geekzu.org'] = {
|
|||
|
||||
// USTC Linux User Group [Mirror]
|
||||
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
|
||||
|
||||
|
||||
//UNPKG (Cloudflare)
|
||||
mappings['unpkg.com'] = {
|
||||
'/': mappings['cdn.jsdelivr.net']['/npm/']
|
||||
};
|
||||
|
|
|
@ -155,7 +155,7 @@ helpers.determineCdnName = function (domainName) {
|
|||
case 'code.jquery.com':
|
||||
return 'jQuery CDN (MaxCDN)';
|
||||
case 'cdn.jsdelivr.net':
|
||||
return 'jsDelivr (MaxCDN)';
|
||||
return 'jsDelivr (Cloudflare)';
|
||||
case 'yastatic.net':
|
||||
return 'Yandex CDN';
|
||||
case 'yandex.st':
|
||||
|
@ -174,6 +174,8 @@ helpers.determineCdnName = function (domainName) {
|
|||
return 'Geekzu Public Service [Mirror]';
|
||||
case 'ajax.proxy.ustclug.org':
|
||||
return 'USTC Linux User Group [Mirror]';
|
||||
case 'unpkg.com':
|
||||
return 'UNPKG (Cloudflare)';
|
||||
case 'stackpath.bootstrapcdn.com':
|
||||
return 'StackPath BootstrapCDN';
|
||||
case 'maxcdn.bootstrapcdn.com':
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<li>Added: Moment.js (v2.24.0)</li>
|
||||
<li>Added: bootstrap-slider (v10.6.2)</li>
|
||||
<li>Size reduced: For each request the latest framework (depends on major release) is selected</li>
|
||||
<li>Updated: cdn.jsdelivr.net (UNPKG)</li>
|
||||
</ul>
|
||||
<div class="topic-label">
|
||||
Please update your uBlock/uMatrix rules
|
||||
|
|
Loading…
Reference in New Issue