From 9d6db61cbb006f1025e6120e6214f6bdae14c58d Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 15 Feb 2025 07:38:01 +0100 Subject: [PATCH] react-dom v19.0.0 --- THIRD_PARTY.txt | 1 + audit/audit.sh | 2 ++ modules/internal/targets.js | 1 + pages/updates/updates.html | 1 + resources/react-dom/19.0.0/umd/react-dom.production.min.jsm | 1 + 5 files changed, 6 insertions(+) create mode 100644 resources/react-dom/19.0.0/umd/react-dom.production.min.jsm diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index e79425b9..37dabcc7 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1358,6 +1358,7 @@ https://cdnjs.cloudflare.com/ajax/libs/react/19.0.0/cjs/react.production.min.js https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.14.0/umd/react-dom.production.min.js https://cdnjs.cloudflare.com/ajax/libs/react-dom/17.0.2/umd/react-dom.production.min.js https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js +https://cdnjs.cloudflare.com/ajax/libs/react-dom/19.0.0/cjs/react-dom.production.min.js https://cdnjs.cloudflare.com/ajax/libs/react-redux/7.2.8/react-redux.min.js https://cdnjs.cloudflare.com/ajax/libs/react-redux/8.1.3/react-redux.min.js https://cdnjs.cloudflare.com/ajax/libs/react-router/5.3.3/react-router.min.js diff --git a/audit/audit.sh b/audit/audit.sh index 780ed44d..d5307370 100755 --- a/audit/audit.sh +++ b/audit/audit.sh @@ -761,6 +761,8 @@ function create_url() { url="$CLOUDFLARE/$folder/$version/pure-min.css" elif [ "$folder" = "react" ] && [ "$version" != "16.14.0" ] && [ "$version" != "17.0.2" ] && [ "$version" != "18.3.1" ]; then url="$CLOUDFLARE/$folder/$version/cjs/react.production.min.js" + elif [ "$folder" = "react-dom" ] && [ "$version" != "16.14.0" ] && [ "$version" != "17.0.2" ] && [ "$version" != "18.3.1" ]; then + url="$CLOUDFLARE/$folder/$version/cjs/react-dom.production.min.js" # -------------------------------------------------------------------------- else if [ "$subfile" = "$jfile" ]; then diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 9ed34f39..368fb5b1 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -397,6 +397,7 @@ targets.setLastVersion = function (type, version) { 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/18.')) return '18.3.1'; + if (type.startsWith('/react-dom/19.')) return '19.0.0'; if (type.startsWith('/react-intl/')) { // NOTE: Parameters swapped. (= anything greater than v5.0.0) if (helpers.compareVersion(version, '5.0.0')) return '7.1.6'; // >= v5.0.0 diff --git a/pages/updates/updates.html b/pages/updates/updates.html index a64aa7e6..459e9f2f 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -30,6 +30,7 @@
  • p2p-media-loader-hlsjs & p2p-media-loader-core v2.1.0 -> v2.2.0
  • react-intl v7.1.0 -> v7.1.6
  • react v19.0.0
  • +
  • react-dom v19.0.0
  • diff --git a/resources/react-dom/19.0.0/umd/react-dom.production.min.jsm b/resources/react-dom/19.0.0/umd/react-dom.production.min.jsm new file mode 100644 index 00000000..d909dded --- /dev/null +++ b/resources/react-dom/19.0.0/umd/react-dom.production.min.jsm @@ -0,0 +1 @@ +"use strict";var React=require("react");function formatProdErrorMessage(r){var e="https://react.dev/errors/"+r;if(1