Added: react-intl v6.0.5 (#1078)

This commit is contained in:
nobody 2022-07-26 06:13:03 +02:00
parent e773ba467a
commit 0118f0682f
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
7 changed files with 28 additions and 0 deletions

View File

@ -1834,6 +1834,7 @@ https://cdn.jsdelivr.net/npm/p2p-media-loader-hlsjs@0.6.2/build/p2p-media-loader
https://cdn.jsdelivr.net/npm/plyr@3.7.2/dist/plyr.css https://cdn.jsdelivr.net/npm/plyr@3.7.2/dist/plyr.css
https://cdn.jsdelivr.net/npm/plyr@3.7.2/dist/plyr.min.js https://cdn.jsdelivr.net/npm/plyr@3.7.2/dist/plyr.min.js
https://cdn.jsdelivr.net/npm/raven-js@3.27.2/dist/raven.min.js https://cdn.jsdelivr.net/npm/raven-js@3.27.2/dist/raven.min.js
https://cdn.jsdelivr.net/npm/react-intl@6.0.5/react-intl.iife.min.js
https://cdn.jsdelivr.net/npm/react-lifecycles-compat@3.0.4/react-lifecycles-compat.min.js https://cdn.jsdelivr.net/npm/react-lifecycles-compat@3.0.4/react-lifecycles-compat.min.js
https://cdn.jsdelivr.net/npm/search-insights@1.8.0/dist/search-insights.min.js https://cdn.jsdelivr.net/npm/search-insights@1.8.0/dist/search-insights.min.js
https://cdn.jsdelivr.net/npm/search-insights@2.2.1/dist/search-insights.min.js https://cdn.jsdelivr.net/npm/search-insights@2.2.1/dist/search-insights.min.js

View File

@ -716,6 +716,8 @@ function create_url() {
url="$CREATEJS/$version/createjs.min.js" url="$CREATEJS/$version/createjs.min.js"
elif [ "$folder" = "moment.js" ] && [ "$version" = "2.5.1" ];then elif [ "$folder" = "moment.js" ] && [ "$version" = "2.5.1" ];then
url="$CLOUDFLARE/$folder/$version/moment-with-langs.min.js" url="$CLOUDFLARE/$folder/$version/moment-with-langs.min.js"
elif [ "$folder" = "react-intl" ]; then
url="$JSDELIVR/npm/react-intl@$version/react-intl.iife.min.js"
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
else else
if [ "$subfile" = "$jfile" ]; then if [ "$subfile" = "$jfile" ]; then

View File

@ -644,6 +644,7 @@ mappings.cdn = {
'purecss@{version}/build/': resources.pureCSS, 'purecss@{version}/build/': resources.pureCSS,
'redux@{version}/dist/redux.': resources.redux, 'redux@{version}/dist/redux.': resources.redux,
'react-dom@{version}/umd/react-dom.production.min.js': resources.reactDOM, 'react-dom@{version}/umd/react-dom.production.min.js': resources.reactDOM,
'react-intl@{version}/react-intl.iife.': resources.reactIntl,
'react@{version}/umd/react.production.min.js': resources.react, 'react@{version}/umd/react.production.min.js': resources.react,
'search-insights@{version}/dist/search-insights.': resources.searchInsights, 'search-insights@{version}/dist/search-insights.': resources.searchInsights,
'select2@{version}/': resources.select2, 'select2@{version}/': resources.select2,

View File

@ -889,6 +889,10 @@ var resources = {
'reactDOM': { 'reactDOM': {
'path': 'resources/react-dom/{version}/umd/react-dom.production.min.jsm' 'path': 'resources/react-dom/{version}/umd/react-dom.production.min.jsm'
}, },
// react-intl
'reactIntl': {
'path': 'resources/react-intl/{version}/react-intl.iife.min.jsm'
},
// react-lifecycles-compat // react-lifecycles-compat
'reactLifecyclesCompat': { 'reactLifecyclesCompat': {
'path': 'resources/react-lifecycles-compat/{version}/react-lifecycles-compat.min.jsm' 'path': 'resources/react-lifecycles-compat/{version}/react-lifecycles-compat.min.jsm'

View File

@ -373,6 +373,8 @@ targets.setLastVersion = function (type, version) {
if (type.startsWith('/react-dom/16.')) return '16.14.0'; if (type.startsWith('/react-dom/16.')) return '16.14.0';
if (type.startsWith('/react-dom/17.')) return '17.0.2'; if (type.startsWith('/react-dom/17.')) return '17.0.2';
if (type.startsWith('/react-dom/18.')) return '18.2.0'; if (type.startsWith('/react-dom/18.')) return '18.2.0';
if (type.startsWith('/react-intl/5.')) return '6.0.5';
if (type.startsWith('/react-intl/6.')) return '6.0.5';
if (type.startsWith('/react-redux/7.')) return '7.2.8'; if (type.startsWith('/react-redux/7.')) return '7.2.8';
if (type.startsWith('/react-redux/8.')) return '8.0.2'; if (type.startsWith('/react-redux/8.')) return '8.0.2';
if (type.startsWith('/react-router/5.')) return '5.3.3'; if (type.startsWith('/react-router/5.')) return '5.3.3';
@ -470,6 +472,7 @@ targets.determineResourceName = function (filename) {
}; };
const ListOfFiles = { const ListOfFiles = {
'react-intl.iife.min.jsm': 'react-intl',
'lunr.min.jsm': 'lunr.js', 'lunr.min.jsm': 'lunr.js',
'jquery.scrollTo.min.jsm': 'jQuery.scrollTo', 'jquery.scrollTo.min.jsm': 'jQuery.scrollTo',
'twix.min.jsm': 'twix.js', 'twix.min.jsm': 'twix.js',

View File

@ -32,6 +32,7 @@
<p>Added</p> <p>Added</p>
<ul> <ul>
<li>lunr.js v2.3.9 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1077">#1077</a>)</li> <li>lunr.js v2.3.9 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1077">#1077</a>)</li>
<li>react-intl v6.0.5 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1078">#1078</a>)</li>
</ul> </ul>
</div> </div>
<div id="generator-section"> <div id="generator-section">

File diff suppressed because one or more lines are too long