From eb482a1a254d90ea9eb9768bdba7697f1605a9a0 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Tue, 23 Apr 2024 19:53:27 +0200 Subject: [PATCH] Revert "Ensure bundlers use vendored React" This reverts commit 8ab8f2d1f88ed71742fe4c6e90ffd618147c9777. --- ...om-turbopack-client.browser.development.js | 4 +- ...dom-turbopack-client.browser.production.js | 2 +- ...turbopack-client.browser.production.min.js | 2 +- ...r-dom-turbopack-client.edge.development.js | 4 +- ...er-dom-turbopack-client.edge.production.js | 2 +- ...om-turbopack-client.edge.production.min.js | 2 +- ...r-dom-turbopack-client.node.development.js | 4 +- ...er-dom-turbopack-client.node.production.js | 2 +- ...om-turbopack-client.node.production.min.js | 2 +- ...opack-client.node.unbundled.development.js | 4 +- ...bopack-client.node.unbundled.production.js | 2 +- ...ck-client.node.unbundled.production.min.js | 2 +- ...om-turbopack-server.browser.development.js | 4 +- ...dom-turbopack-server.browser.production.js | 4 +- ...turbopack-server.browser.production.min.js | 2 +- ...r-dom-turbopack-server.edge.development.js | 4 +- ...er-dom-turbopack-server.edge.production.js | 4 +- ...om-turbopack-server.edge.production.min.js | 2 +- ...r-dom-turbopack-server.node.development.js | 4 +- ...er-dom-turbopack-server.node.production.js | 4 +- ...om-turbopack-server.node.production.min.js | 2 +- ...opack-server.node.unbundled.development.js | 4 +- ...bopack-server.node.unbundled.production.js | 4 +- ...ck-server.node.unbundled.production.min.js | 2 +- ...om-turbopack-client.browser.development.js | 4 +- ...dom-turbopack-client.browser.production.js | 2 +- ...turbopack-client.browser.production.min.js | 2 +- ...r-dom-turbopack-client.edge.development.js | 4 +- ...er-dom-turbopack-client.edge.production.js | 2 +- ...om-turbopack-client.edge.production.min.js | 2 +- ...r-dom-turbopack-client.node.development.js | 4 +- ...er-dom-turbopack-client.node.production.js | 2 +- ...om-turbopack-client.node.production.min.js | 2 +- ...opack-client.node.unbundled.development.js | 4 +- ...bopack-client.node.unbundled.production.js | 2 +- ...ck-client.node.unbundled.production.min.js | 2 +- ...om-turbopack-server.browser.development.js | 4 +- ...dom-turbopack-server.browser.production.js | 4 +- ...turbopack-server.browser.production.min.js | 2 +- ...r-dom-turbopack-server.edge.development.js | 4 +- ...er-dom-turbopack-server.edge.production.js | 4 +- ...om-turbopack-server.edge.production.min.js | 2 +- ...r-dom-turbopack-server.node.development.js | 4 +- ...er-dom-turbopack-server.node.production.js | 4 +- ...om-turbopack-server.node.production.min.js | 2 +- ...opack-server.node.unbundled.development.js | 4 +- ...bopack-server.node.unbundled.production.js | 4 +- ...ck-server.node.unbundled.production.min.js | 2 +- ...-dom-webpack-client.browser.development.js | 4 +- ...r-dom-webpack-client.browser.production.js | 2 +- ...m-webpack-client.browser.production.min.js | 2 +- ...ver-dom-webpack-client.edge.development.js | 4 +- ...rver-dom-webpack-client.edge.production.js | 2 +- ...-dom-webpack-client.edge.production.min.js | 2 +- ...ver-dom-webpack-client.node.development.js | 4 +- ...rver-dom-webpack-client.node.production.js | 2 +- ...-dom-webpack-client.node.production.min.js | 2 +- ...bpack-client.node.unbundled.development.js | 4 +- ...ebpack-client.node.unbundled.production.js | 2 +- ...ck-client.node.unbundled.production.min.js | 2 +- ...-dom-webpack-server.browser.development.js | 4 +- ...r-dom-webpack-server.browser.production.js | 4 +- ...m-webpack-server.browser.production.min.js | 2 +- ...ver-dom-webpack-server.edge.development.js | 4 +- ...rver-dom-webpack-server.edge.production.js | 4 +- ...-dom-webpack-server.edge.production.min.js | 2 +- ...ver-dom-webpack-server.node.development.js | 4 +- ...rver-dom-webpack-server.node.production.js | 4 +- ...-dom-webpack-server.node.production.min.js | 2 +- ...bpack-server.node.unbundled.development.js | 4 +- ...ebpack-server.node.unbundled.production.js | 4 +- ...ck-server.node.unbundled.production.min.js | 2 +- ...-dom-webpack-client.browser.development.js | 4 +- ...r-dom-webpack-client.browser.production.js | 2 +- ...m-webpack-client.browser.production.min.js | 2 +- ...ver-dom-webpack-client.edge.development.js | 4 +- ...rver-dom-webpack-client.edge.production.js | 2 +- ...-dom-webpack-client.edge.production.min.js | 2 +- ...ver-dom-webpack-client.node.development.js | 4 +- ...rver-dom-webpack-client.node.production.js | 2 +- ...-dom-webpack-client.node.production.min.js | 2 +- ...bpack-client.node.unbundled.development.js | 4 +- ...ebpack-client.node.unbundled.production.js | 2 +- ...ck-client.node.unbundled.production.min.js | 2 +- ...-dom-webpack-server.browser.development.js | 4 +- ...r-dom-webpack-server.browser.production.js | 4 +- ...m-webpack-server.browser.production.min.js | 2 +- ...ver-dom-webpack-server.edge.development.js | 4 +- ...rver-dom-webpack-server.edge.production.js | 4 +- ...-dom-webpack-server.edge.production.min.js | 2 +- ...ver-dom-webpack-server.node.development.js | 4 +- ...rver-dom-webpack-server.node.production.js | 4 +- ...-dom-webpack-server.node.production.min.js | 2 +- ...bpack-server.node.unbundled.development.js | 4 +- ...ebpack-server.node.unbundled.production.js | 4 +- ...ck-server.node.unbundled.production.min.js | 2 +- packages/next/taskfile.js | 96 ++++++++----------- 97 files changed, 184 insertions(+), 200 deletions(-) diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index 6dc37e9e69635..ba8565d5225ea 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -14,8 +14,8 @@ if (process.env.NODE_ENV !== "production") { (function() { 'use strict'; -var ReactDOM = require("next/dist/compiled/react-dom-experimental"); -var React = require("next/dist/compiled/react-experimental"); +var ReactDOM = require('react-dom'); +var React = require('react'); function createStringDecoder() { return new TextDecoder(); diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js index 28fbe4589841e..3870f7bb6feb2 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.js @@ -10,7 +10,7 @@ 'use strict'; -var ReactDOM = require("next/dist/compiled/react-dom-experimental"); +var ReactDOM = require('react-dom'); function createStringDecoder() { return new TextDecoder(); diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js index c792624edb4f4..5c25acb125126 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.production.min.js @@ -7,7 +7,7 @@ This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ -'use strict';var p=require("next/dist/compiled/react-dom-experimental"),q={stream:!0};function r(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var u=new Map; +'use strict';var p=require("react-dom"),q={stream:!0};function r(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var u=new Map; function w(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function x(){} function y(a){for(var b=a[1],c=[],d=0;d